Translate to monolithic architecture

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-08-28 15:50:41 +03:00
parent 9d3d51f23c
commit c897e3c840
24 changed files with 308 additions and 1035 deletions

View File

@@ -1,7 +1,31 @@
[workspace]
[package]
name = "backend"
version = "0.1.0"
edition = "2021"
resolver = "2"
members = [
"common",
"assets",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
apca = "0.27.2"
axum = "0.6.20"
dotenv = "0.15.0"
sqlx = { version = "0.7.1", features = [
"uuid",
"time",
"postgres",
"runtime-tokio",
] }
tokio = { version = "1.32.0", features = [
"macros",
"rt-multi-thread",
] }
deadpool = { version = "0.9.5", features = [
"rt_tokio_1",
] }
serde = "1.0.188"
log = "0.4.20"
serde_json = "1.0.105"
log4rs = "1.2.0"
time = { version = "0.3.27", features = [
"serde",
] }