Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-04-28 00:52:40 +02:00
parent b6e0080caa
commit 93026436a9
48 changed files with 2116 additions and 126 deletions

View File

@@ -0,0 +1,41 @@
@startuml Déploiement
node "Client Device" {
[Web Browser] as Browser
}
node "Docker Environment" {
node "timelapse-api" {
[Express Server] as Server
[Node.js Runtime] as Node
[FFmpeg] as FFmpeg
}
database "timelapse-db" {
[PostgreSQL] as DB
}
folder "Volumes" {
folder "storage/" {
[Project Images]
[Generated Videos]
}
}
}
node "Camera Device" {
[Camera Software] as CamSoftware
[Sensors] as Sensors
}
Browser --> Server: HTTP/REST
CamSoftware --> Server: HTTP/REST
Server --> DB: SQL Queries
Server --> FFmpeg: Process Spawn
FFmpeg --> [Project Images]: Read
FFmpeg --> [Generated Videos]: Write
Server --> [Project Images]: Read/Write
Server --> [Generated Videos]: Read
Sensors --> CamSoftware: Temperature/\nHumidity Data
@enduml