User Story
As a user I would like to be able to browse various preset workouts so that I am able to just follow a specific plan and don't need to research what to do
Description
For the Workout data to be persisted in our database, we need a way to connect and interact with the Workout collection in the database. A "workout-service.js" file should be prepared with methods of connecting to the collection in addition to any required functionality such as crud operations to allow for the backend to interact with the database.
Acceptance Criteria
[x] CRUD operations should be setup
[x] additional operations should be implemented for specific read operations such as by id
all operations tested with jest unit tests. workout service able to accurately retrieve desired information and manipulate the correct data. All CRUD operations working as expected
User Story As a user I would like to be able to browse various preset workouts so that I am able to just follow a specific plan and don't need to research what to do
Description For the Workout data to be persisted in our database, we need a way to connect and interact with the Workout collection in the database. A "workout-service.js" file should be prepared with methods of connecting to the collection in addition to any required functionality such as crud operations to allow for the backend to interact with the database.
Acceptance Criteria
Testing