Initial scaffold: Rust server workspace (sb-api, sb-core, sb-db, sb-auth, sb-shared) + sb-common dependency + systemd
This commit is contained in:
commit
7a75a523f0
39 changed files with 183 additions and 0 deletions
5
crates/sb-api/src/routes/mod.rs
Normal file
5
crates/sb-api/src/routes/mod.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
use axum::{routing::get, Router};
|
||||
|
||||
pub fn build() -> Router {
|
||||
Router::new().route("/", get(|| async { "skara-brae api" }))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue