Ray73H / Hands-on-Health

1 stars 0 forks source link

Make backend API function for getting workout history #44

Closed Ray73H closed 4 hours ago

Ray73H commented 6 hours ago

Created a backend function that gets all the workouts created by a user from the database to be sent to the frontend for history component. The frontend will send a get request with workout-plans/all/{userId} with the associated userId in the parameter.