A snake game using ReactJs for the frontend and a python api for the CRUD operations in the backend
The front end is built using reactJs
After cloning the repo you will have to run the following commands:
cd snake-uinpm install- to install packagesnpm start
Navigate to http://localhost:3000/ to see the app running.
In order to get the backend running, you will also have to run the following commands, assuming you already have python3, flask and pip installed:
cd snake-apivirtualenv -p python venv- creating a virtual environment called venvsource ./venv/bin/activate- to activate the virtual environmentpip install Flask- to install flaskpip install Flask-SQLAlchemy- to install SQLAlchemypython app.py
Navigate to http://localhost:5000/api to see the api running.