🎉 Inits backend

This commit is contained in:
Daniel Svitan
2025-05-10 12:15:00 +02:00
commit b8d3d427a3
5 changed files with 1653 additions and 0 deletions

11
backend/src/main.rs Normal file
View File

@@ -0,0 +1,11 @@
#[macro_use] extern crate rocket;
#[get("/")]
async fn index() -> &'static str {
"Hello World!"
}
#[launch]
fn rocket() -> _ {
rocket::build().mount("/", routes![index])
}