- add: api service gateway to allow website logins

This commit is contained in:
2024-12-14 01:51:00 -05:00
parent e6f78128a7
commit 4f826d7da5
4 changed files with 183 additions and 0 deletions

23
api-service/Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "api-service"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = "0.7.9"
hyper = { version = "1.5.1", features = ["server"] }
prost = "0.13.4"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
tokio = { version = "1.42.0", features = ["full"] }
tonic = { version = "0.12.3", features = ["transport", "prost"] }
tower = "0.5.2"
log = "0.4.22"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
utils = { path = "../utils" }
dotenv = "0.15"
tower-http = { version = "0.6.2", features = ["cors"] }
[build-dependencies]
tonic-build = "0.12.3"