User Story
As a user, I would like to be able to view a history of the exercises I've completed so that I can keep track of what I've achieved.
Description
The History route involves the backend functionality to provide users access to their history. This includes retrieving all past workouts for a given user in order of newest to oldest.
Acceptance Criteria
[x] ability to view all history
[x] ability to view history ordered by date
[x] GET route with filtering for specific user
[x] GET route for a single particular history entry
[x] POST route for creating a history entry
Testing
[x] retrieving history for a given user returns all entries for that user
[x] getting all history returns correct number of entries
User Story As a user, I would like to be able to view a history of the exercises I've completed so that I can keep track of what I've achieved.
Description The History route involves the backend functionality to provide users access to their history. This includes retrieving all past workouts for a given user in order of newest to oldest.
Acceptance Criteria
Testing