loteriaExample.mp4
- Git clone
- npm install
- To be able to use the online functionality you need to have an account on firebase and just create one empty real time database
- Create an .env.local file with the following variables and insert the data that has firebase:
REACT_APP_FIREBASE_APIKEY=
REACT_APP_FIREBASE_AUTHDOMAIN=
REACT_APP_FIREBASE_DATABASEURL=
REACT_APP_FIREBASE_PROJECTID=
REACT_APP_FIREBASE_STORAGEBUCKET=
REACT_APP_FIREBASE_MESSAGINGSENDERID=
REACT_APP_FIREBASE_APPID= - npm run start
- After the cretion of the room and the initial player, please update manually on firebase the propertye isGM, that one controls the person who is going to run the game
- Enjoy!