Display global statistics

This commit is contained in:
2025-05-02 10:01:22 +02:00
parent 16ef1147fe
commit 272c8ab312
8 changed files with 170 additions and 6 deletions

View File

@ -155,6 +155,8 @@ async fn main() -> std::io::Result<()> {
"/api/movement/{movement_id}",
web::delete().to(movement_controller::delete),
)
// Statistics controller
.route("/api/stats/global", web::get().to(stats_controller::global))
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(