diericx / climbing_notebook

A tool to help climbers with their training
https://climbingnotebook.com
Other
22 stars 1 forks source link

Create `Exercise` resource #5

Closed diericx closed 1 year ago

diericx commented 1 year ago

Right now exercises are only identified via the name on an exercise_event. While this works, it does not allow for any extension. This also makes it very complicated to create charts and data queries.

By adding exercise resources with more information, we can not only make querying easier/concise, but we can begin to pre-built charts. The exercises can also have more metadata such as target muscle groups which could prove valuable.

Resource Spec

Exercise
  name: string unique
  type: string [climbing, strength_training]
  muscle_groups: string[]
  owner_id: string

Resource Functionality

Todo list: