Moved server, added backend structs and added ui elements.

This commit is contained in:
2026-01-15 02:53:47 +01:00
parent 25a47bbce9
commit 0d5fef7fbb
19 changed files with 3355 additions and 123 deletions
+32
View File
@@ -0,0 +1,32 @@
[package]
name = "server"
version = "0.1.0"
edition = "2024"
authors = ["Matthias Lodner <matthias@lodner.de>"]
[[bin]]
name = "server"
path = "src/main.rs"
[dependencies]
common = {path = "../common"}
axum = "0.8.8"
tokio = { version = "1.49.0", default-features = false, features = ["full"] }
http = "1.4.0"
tracing = "=0.1.44"
tracing-subscriber = "0.3.22"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
# Logging
env_logger = "0.11.8"
# Database
sqlx = { version = "0.8.6", features = [ "runtime-async-std-native-tls", "postgres", "chrono" ] }
# Etc.
dotenv = "0.15.0"
chrono = { version = "0.4.42" }