API for tracking and managing activities of cycling.
-
Framework: Flask
-
Language: Python
-
Database: SQLite3
Click to see features
- Login/Signup
- JWT token
- Password hashing
- Activity
- Create activity
- Edit activity
- Delete activity
- Get all activities
- Get weekly activities
- Get stats of activities (total hour, total distance, total rides)
- Create
.env
file
DEBUG=True
PORT=5000
SECRET_KEY=Your_Secret_Key
- Install necessary modules
pip install -r requirements.txt # Windows
pip3 install -r requirements.txt # Linux
- Run API with below command
python app.py # Windows
python3 app.py # Linux
Madhku API is distributed under the MIT Licence, See Licence.