- Create a Game
- Ask the other player to join using the created Game ID.
- Play.
- Unlimited games
- Realtime updates using Sockets
- Online counter shows the count of players that have Joined.
- Winner/Tie status.
- Clone the repo.
- Install requirements for Frontend.
yarn
OR
npm install
- Install the requirements for Backend
cd api
pip install -r requirements.txt
- Set the Enviroment Variables.
SECRET_KEY=
DATABASE_URI=
- Create Database table
Run this inside the
api
directory
python manage.py create_db
The application is configured to use Postgresql by default.
- Run the backend
Run this inside the
api
directory
flask run
- Set the Enviroment Variables for Frontend.
API_URL
- Run the frontend server
Run this in the
web
directory
yarn start
OR
npm run start
- Build the frontend
Run in
web
directory
yarn build
OR
npm run build
- Start the server.
Run in
api
directory
flask run