From f656a61b98ebab9e9d5baf4a04209a0021c74fd0 Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Thu, 30 May 2024 14:14:37 +0200 Subject: [PATCH] Infrastructure diagram --- docs/documentation/diagrams/infrastructure.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docs/documentation/diagrams/infrastructure.md diff --git a/docs/documentation/diagrams/infrastructure.md b/docs/documentation/diagrams/infrastructure.md new file mode 100644 index 0000000..bbb68a7 --- /dev/null +++ b/docs/documentation/diagrams/infrastructure.md @@ -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() + } +} +``` +