instructions.txt 758 B

1234567891011121314
  1. Create the following routes:
  2. PUT /workout/{workout_id}
  3. This route will allow the user to update the change the name of the workout
  4. This route will allow the user to change the name of each exercise and the position/ordering of each exercise
  5. Ensure that positions are unique without the workout. So no two exercises within the workout should contain the same value
  6. This route will allow the user to delete any exercises
  7. This route will allow the user to add new exercises
  8. Any error messages should contain a user readable message
  9. Ensure logged in user is the owner of the workout
  10. DELETE /workout/{workout_id}
  11. Ensure logged in user is owner of workout
  12. This route simply deletes the workout and all corresponding exercises