Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
/ snake Public archive

A snake game using ReactJs for the frontend and a python api for the CRUD operations in the backend

Notifications You must be signed in to change notification settings

fogha/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake

A snake game using ReactJs for the frontend and a python api for the CRUD operations in the backend

FrontEnd

The front end is built using reactJs

After cloning the repo you will have to run the following commands:

  1. cd snake-ui
  2. npm install - to install packages
  3. npm 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:

  1. cd snake-api
  2. virtualenv -p python venv - creating a virtual environment called venv
  3. source ./venv/bin/activate - to activate the virtual environment
  4. pip install Flask - to install flask
  5. pip install Flask-SQLAlchemy- to install SQLAlchemy
  6. python app.py

Navigate to http://localhost:5000/api to see the api running.

About

A snake game using ReactJs for the frontend and a python api for the CRUD operations in the backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published