Updated infrastructure-design.md

This commit is contained in:
Luca Warmenhoven
2024-06-04 17:40:02 +02:00
parent cac78aecb8
commit ef7e7ae55c

View File

@@ -11,6 +11,7 @@ to the data of the current exercise and show how well the user is performing.
Down below is a visual representation of how this infrastructure will look like. Down below is a visual representation of how this infrastructure will look like.
### General Infrastructure Diagram
```mermaid ```mermaid
graph TB graph TB
@@ -39,4 +40,22 @@ graph TB
gyro <---> esp gyro <---> esp
end end
```
### Database Diagram
For the design of our database, we've decided to only add a single table named `Exercise`.
This table contains all the information needed for the exercises.
```mermaid
classDiagram
class Exercise {
+ExerciseId : INT
+Name : VARCHAR
+Description : VARCHAR
+ShortDescription : VARCHAR
+ImageURL : VARCHAR
+VideoURL : VARCHAR
+MuscleGroup : VARCHAR
+Path : VARCHAR
}
``` ```