Project skeleton

This commit is contained in:
Alphonse Paix
2025-08-20 00:25:07 +02:00
commit 1fd1c4eef4
4 changed files with 664 additions and 0 deletions

9
src/main.rs Normal file
View File

@@ -0,0 +1,9 @@
use axum::{Router, routing::get};
#[tokio::main]
async fn main() {
let app = Router::new().route("/", get(|| async { "Hello, World!" }));
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
axum::serve(listener, app).await.unwrap();
}