Add workout tracker project

feat/projects-list
Kamran Ahmed 4 months ago
parent 3196c7d2b8
commit d9db6faa81
  1. 4
      src/data/projects/ecommerce-api.md
  2. 69
      src/data/projects/fitness-workout-tracker.md

@ -4,7 +4,7 @@ description: 'E-Commerce platform with cart and payment gateway integration.'
isNew: false
sort: 12
difficulty: 'intermediate'
nature: 'CLI'
nature: 'API'
skills:
- 'Programming Language'
- 'Database'
@ -12,7 +12,7 @@ skills:
- 'Inventory Management'
seo:
title: 'E-Commerce API Project Idea'
description: ''
description: 'E-Commerce platform with cart and payment gateway integration.'
keywords:
- 'backend project idea'
roadmapIds:

@ -0,0 +1,69 @@
---
title: 'Workout Tracker'
description: 'App to let users track their workouts and progress.'
isNew: false
sort: 12
difficulty: 'intermediate'
nature: 'API'
skills:
- 'Programming Language'
- 'Date and Time'
- 'Database'
- 'Seeder'
- 'OpenAPI'
seo:
title: 'Workout Tracker Project Idea'
description: 'App to let users track their workouts and progress.'
keywords:
- 'backend project idea'
roadmapIds:
- 'backend'
- 'nodejs'
- 'python'
- 'java'
- 'golang'
- 'spring-boot'
---
This project involves creating a backend system for a workout tracker application where users can sign up, log in, create workout plans, and track their progress. The system will feature JWT authentication, CRUD operations for workouts, and generate reports on past workouts.
## Requirements
You are required to develop an API for a workout tracker application that allows users to manage their workouts and track their progress. Your first task is to think about the database schema and the API endpoints that will be needed to support the application's functionality. Here are some of the key features you should consider:
### Exercise Data
You should write a data seeder to populate the database with a list of exercises. Each exercise should have a name, description, and category (e.g., cardio, strength, flexibility) or muscle group (e.g., chest, back, legs). Exercises will be used to create workout plans.
### User Authentication and Authorization
Users will be able to sign up, log in, and log out of the application. You should use JWT tokens for authentication and authorization. Only authenticated users should be able to create, update, and delete workout plans. Needless to say, users should only be able to access their own workout plans.
- **Sign-Up**: Allow users to create an account.
- **Login**: Allow users to log in to their account.
- **JWT**: Use JSON Web Tokens for authentication.
### Workout Management
Users will be able to create their workout plans. Workout plans should consist of multiple exercises, each with a set number of repetitions, sets, and weights. Users should be able to update and delete their workout plans. Additionally, users should be able to schedule workouts for specific dates and times.
- Create Workout: Allow users to create workouts composed of multiple exercises.
- Update Workout: Allow users to update workouts and add comments.
- Delete Workout: Allow users to delete workouts.
- Schedule Workouts: Allow users to schedule workouts for specific dates and times.
- List Workouts: List active or pending workouts sorted by date and time.
- Generate Reports: Generate reports on past workouts and progress.
## Constraints
You are free to choose the programming language and database of your choice. Actual decisions for the database schema, API endpoints, and other implementation details are up to you. However, you should consider the following constraints:
- **Database**: Use a relational database to store user data, workout plans, and exercise data.
- **API**: Develop a RESTful API to interact with the database.
- **Security**: Implement JWT authentication to secure the API endpoints.
- **Testing**: Write unit tests to ensure the correctness of your code.
- **Documentation**: Learn about OpenAPI Specs. Document your API endpoints and provide examples of how to use them.
<hr />
This project is a great way to practice building a backend system for a real-world application. You will learn how to design a database schema, implement user authentication, and create RESTful API endpoints. Additionally, you will gain experience in writing unit tests and documenting your code.
Loading…
Cancel
Save