darenc9 / FitFuture

https://fit-future.vercel.app
0 stars 0 forks source link

Create Workout Service #52

Closed andrew-sequeira closed 3 months ago

andrew-sequeira commented 3 months ago

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

andrew-sequeira commented 3 months ago

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