Updated infrastructure-design.md
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
```
|
```
|
Reference in New Issue
Block a user