basic HTTP server

This commit is contained in:
2026-02-23 13:17:09 +01:00
parent b31c85647e
commit 085764f06a
2 changed files with 32 additions and 2 deletions

5
src/api/mod.rs Normal file
View File

@@ -0,0 +1,5 @@
use axum::{Router, routing::get};
pub fn api_router() -> Router {
Router::new().route("/api/live", get(async || "Mnemosyne lives"))
}