Exercism is a simple REST
api for exercise tracking. You can:
- Add a new user by calling
POST /api/exercise/new-user/{username}
. Exercism will check that no user already exists with that name. - Add exercise sessions to a user by calling
POST /api/exercise/add
and supplyinguserId
,description
,duration
(in minutes), and an optionaldate
. - View a list of all users by calling
GET /api/exercise/users
. - View a users logged exercises by calling
GET /api/exercise/log
and supplying?userId={id}
as well as filtering the results with&from={date}
and/or&to={date}
and/or&limit={number}
.
The application was created as part of the FreeCodeCamp api and microservices challenges.