Create initial api

This commit is contained in:
Radical 2025-04-28 23:20:37 +02:00
parent 1fa926dd05
commit f090fbafe7
7 changed files with 169 additions and 21 deletions

8
src/api/v1/mod.rs Normal file
View file

@ -0,0 +1,8 @@
use actix_web::{web, Scope};
mod stats;
pub fn web() -> Scope {
web::scope("/v1")
.service(stats::res)
}