Backend API for Redback Project 3 (Wearables for athletes), built with Python and Flask.
- Git installed
- Python 3.9+ installed
- Postman installed (optional, for testing endpoints)
- Framework: Flask
- Database: SQLite (Development)
- Auth: Firebase Auth
- Testing: Postman
- CI/CD: Github Actions
-
Clone the repository to your local machine
git clone https://github.com/Redback-Operations/redback-fit-backend.git
-
Navigate to the project directory
cd redback-fit-backend -
Create a virtual environment
python -m venv env
-
Activate the virtual environment
- Windows
env\Scripts\activate
- Mac/Linux
source env/bin/activate
- Windows
-
Install required dependencies from
requirements.txtpip install -r requirements.txt
-
Run the Flask server
python app.py
The database will be automatically created and initialised on first run found in /instance.
Once running, the backend will be available at:
http://localhost:5000