feat: expand workspace to include libertas_infra and libertas_worker

feat(libertas_api): add dependency on libertas_infra and async-nats

refactor(libertas_api): consolidate config loading and add broker_url

refactor(libertas_api): integrate NATS client into app state and services

feat(libertas_core): introduce config module for database and server settings

fix(libertas_core): enhance error handling with detailed messages

feat(libertas_infra): create infrastructure layer with database repositories

feat(libertas_infra): implement Postgres repositories for media and albums

feat(libertas_worker): add worker service to process media jobs via NATS
This commit is contained in:
2025-11-02 10:22:38 +01:00
parent 7ea91da20a
commit a5a88c7f33
23 changed files with 1122 additions and 107 deletions

View File

@@ -8,6 +8,7 @@ axum = { version = "0.8.6", features = ["multipart"] }
tokio = { version = "1.48.0", features = ["full"] }
libertas_core = { path = "../libertas_core" }
libertas_infra = { path = "../libertas_infra" }
serde = { version = "1.0.228", features = ["derive"] }
sqlx = { version = "0.8.6", features = [
"runtime-tokio",
@@ -30,3 +31,4 @@ rand_core = { version = "0.9.3", features = ["std"] }
sha2 = "0.10.9"
futures = "0.3.31"
bytes = "1.10.1"
async-nats = "0.44.2"