Files
J1B4-Fitbot/docs/documentation/diagrams/infrastructure.md
2024-06-04 14:42:30 +02:00

1.0 KiB

Infrastructure UML

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
    }
}