Infrastructure diagram
This commit is contained in:
62
docs/documentation/diagrams/infrastructure.md
Normal file
62
docs/documentation/diagrams/infrastructure.md
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
# Infrastructure UML
|
||||||
|
|
||||||
|
``` mermaid
|
||||||
|
classDiagram
|
||||||
|
|
||||||
|
Raspberry pi --> NodeJS
|
||||||
|
Raspberry pi --> Database
|
||||||
|
NodeJS --> Androidapp : getExerciseData (Wifi, Rest API)
|
||||||
|
Database <--> NodeJS : Database queries
|
||||||
|
|
||||||
|
|
||||||
|
ESP8266 --> Androidapp : getRotationalData (Wifi)
|
||||||
|
namespace Server {
|
||||||
|
class Raspberry pi {
|
||||||
|
+MariaDB
|
||||||
|
+Apache2
|
||||||
|
+NodeJS
|
||||||
|
Database()
|
||||||
|
Webserver()
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class Database {
|
||||||
|
+ExerciseID
|
||||||
|
+ExerciseName
|
||||||
|
+ExerciseDescription
|
||||||
|
+ExerciseVideo
|
||||||
|
+GyroCoordinates
|
||||||
|
+MuscleGroup
|
||||||
|
}
|
||||||
|
|
||||||
|
class NodeJS {
|
||||||
|
+MariaDB
|
||||||
|
GetRandomExercise()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace Pepper {
|
||||||
|
class Androidapp {
|
||||||
|
+Java
|
||||||
|
+Android SDK
|
||||||
|
+QiSDK
|
||||||
|
motionProcessing()
|
||||||
|
robotMovement()
|
||||||
|
showVideo()
|
||||||
|
fitnessCycle()
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace Hardware {
|
||||||
|
class ESP8266{
|
||||||
|
+RotationalX
|
||||||
|
+RotationalY
|
||||||
|
+RotationalZ
|
||||||
|
Gyroscope()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Reference in New Issue
Block a user