Lobby system for a web-based game using Socket.io, React and Flask
- To use react, install node.js (LTS) https://nodejs.org/en/
- Install dependecies by opening a terminal in the client folder and run
npm install. This will automatically install all dependencies from the package.json - Run the development environment with
npm start. - Build the react app by running
npm run build.
- The server requires python https://www.python.org/downloads/ (Make sure to install pip)
- Install the requirements by running
pip install -r requirements.txtin the server folder - Run the Flask server with
python app.pyfrom the server folder - The server will be hosted at localhost:5000