Implement an API backend

This commit is contained in:
2024-06-29 15:22:25 +02:00
parent 11a8b6b14c
commit af6efdbbb6
6 changed files with 973 additions and 0 deletions

10
api/Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "tiramisu_api"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version = "0.7.5", features = [] }
serde = { version = "1.0.203", features = ["derive"] }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
tower-http = { version = "0.5.2", features = ["cors"] }