🎉 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
+1
View File
@@ -0,0 +1 @@
/target
+1633
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "backend"
version = "0.1.0"
edition = "2024"
[dependencies]
rocket = { version = "0.5.1" }
+11
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])
}