# Infrastructure UML ``` mermaid classDiagram Raspberry Pi --> NodeJS Raspberry Pi --> Database NodeJS <--> Android Application : Request exercise data from database Database <--> NodeJS : Database queries ESP8266 --> Android Application : Send rotation data via WiFi to\n Pepper Web Server namespace Server { class Raspberry Pi { +MariaDB +Apache2 +NodeJS Database Webserver } class Database { +ExerciseID +ExerciseName +ExerciseShortDesc +ExerciseDescription +ExerciseVideo +ExerciseImage +GyroVectors +MuscleGroup } class NodeJS { +MariaDB +Handle requests } } namespace Pepper { class Android Application { +Java +Android SDK +QiSDK +WebServer +Acquire rotation data from sensors } } namespace Hardware { class ESP8266{ +RotationX +RotationY +RotationZ Send rotation data to Web Server } } ```