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.
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.