The Exercise Tracker Microservice is a project from freeCodeCamp's Backend Development and APIs curriculum. This project enables users to log their daily exercise activities, providing an interface to create user profiles, track exercises, and retrieve logs.
Features
- Allows users to create a new profile with a unique username.
- Returns a unique userId for each user.
- Users can add exercise logs by providing:
- A description of the activity.
- The duration in minutes.
- An optional date (defaults to the current date if not provided).
- Retrieve a user's exercise history, including:
- All exercises performed.
- Total number of exercises.
- Supports optional query parameters to filter logs by from, to, and limit.