Files
J1B4-Fitbot/docs/documentation/database/infrastructure.md
2024-05-14 11:32:32 +02:00

952 B

Infrastructure

The infrastructure of the database is composed of the following components:

  • User
  • Pepper
    • Interface
    • Robot
  • Raspberry Pi
    • Database
      • MariaDB
    • Server
      • Apache
      • phpMyAdmin
      • Node.js

User interacts with Pepper through the interface. The interface sends the user input to the robot. The robot processes the input (java) and sends the output (xml) back to the interface. The interface displays the output to the user. The Raspberry Pi hosts the server and database. The database stores the data and the server hosts the website. The server runs Apache, phpMyAdmin, and Node.js. The interface makes a request to the server (HTTP GET) to retrieve the data in the database. The server processes the request (HTTP GET) and retrieves (SQL) the data from the database. The interface displays the data to the user.

Application Architecture Diagram