-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f501f3d
commit 7fcd566
Showing
1 changed file
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,54 @@ | ||
# Beer Bet | ||
BeerBet 🍻 | ||
=== | ||
|
||
> Vue 3, Vite, TS, PrimeVue, Supabase 💚 | ||
Experience a whole new way to enjoy your favorite matches with our sports betting site centered around fun and beers, without any money wagered. | ||
https://beerbet.netlify.app/ | ||
|
||
![social](https://github.com/ChouquetteCorp/beerbet/assets/20130405/767813f2-2dd1-4f75-81df-80b717f7b3f1) | ||
|
||
## Features | ||
- Create and Share Bet | ||
- Participate to bet | ||
- Template Bet with matches | ||
- PWA (mobile first) | ||
|
||
|
||
## Project Setup | ||
|
||
```sh | ||
# Install | ||
npm install | ||
|
||
# Compile and Hot-Reload for Development | ||
npm run dev -- --mode=emulator # Launch front | ||
npm run supabase:start # Launch backend | ||
npm run supabase -- supabase functions serve end-bet | ||
|
||
|
||
# Build | ||
npm run build | ||
|
||
# Lint with [ESLint](https://eslint.org/) | ||
npm run lint | ||
``` | ||
|
||
|
||
|
||
## Get Matchs | ||
|
||
### Get matchs from API | ||
|
||
|
||
```sh | ||
export SPORT_API_KEY=xxx | ||
npx api-sport-cli get-matchs -c .github/configApiSport/default.json -u api_id | ||
``` | ||
You need to define env `SPORT_API_KEY`. | ||
|
||
It will create `matchs.sql` file, which contains all matchs from API. | ||
You can import it in your database. | ||
|
||
|
||
|
||
Supabase project |