From 7fcd5666ccb98d2ae0bbd1ac0fb4c5a1e66b0e92 Mon Sep 17 00:00:00 2001 From: Bilel Jegham Date: Sun, 13 Aug 2023 18:24:45 +0200 Subject: [PATCH] Update README.md --- README.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b72bde4..dd67a7f 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file