A simple Node.js & Express-based web application to log and track workouts.
- 📝 CRUD Operations – Log workouts (Create, Read, Update, Delete).
- 🔎 Filtering – Search workouts by type, date, or duration.
- 📊 Progress Tracking – View workout history.
- 🛠️ REST API – Structured endpoints for workout management.
- Backend: Node.js, Express.js
- Database: MongoDB (via Mongoose)
- Tools: Git, GitHub, Dotenv
git clone https://github.com/NatBabi/Workout-Tracker-Web-App.git
cd Workout-Tracker-Web-App
npm install
Create a .env
file in the root directory and add the following:
PORT=5000
MONGO_URI=your-mongodb-connection-string
npm run dev
- GET
/api/workouts
– Get all workouts. - POST
/api/workouts
– Add a new workout. - PUT
/api/workouts/:id
– Update a workout. - DELETE
/api/workouts/:id
– Remove a workout.
This project is licensed under the MIT License – Feel free to use and modify.
- Create a README file:
touch README.md
- Copy and paste this content into your
README.md
file.