Strava Lite is a Flask-based RESTful API service that allows users to track their running workouts. Users can create accounts, log their runs with details like date, time, and distance, and view their workout history. The application also includes social features where users can follow other runners and view their workouts.
- User Management (Create, Read, Update, Delete)
- Workout Tracking
- Social Following System
- Friend Workout Viewing
- RESTful API Design
POST /user
- Register a new userGET /user/<user_id>
- Get user detailsDELETE /user/<user_id>
- Remove a userGET /users
- List all usersPUT /workouts/<user_id>
- Add a workoutGET /workouts/<user_id>
- List user's workoutsPUT /follow-list/<user_id>
- Follow another userGET /follow-list/<user_id>/<follow_id>
- View friend's workouts
The project requires the following Python packages:
- Flask==2.3.2
- Flask-RESTful==0.3.9
- requests==2.32.3
These can be installed using pip install -r requirements.txt