feat: with persistent session state

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-05-28 15:34:36 +02:00
parent 1e38b2838c
commit 746fb68684
9 changed files with 661 additions and 232 deletions

View File

@@ -27,7 +27,7 @@ async fn main() -> anyhow::Result<()> {
let pool = ConnectionPoolManager::new_pool(&config.database_url, true).await?;
let service_register = ServiceRegister::new(pool, config.clone());
let service_register = ServiceRegister::new(pool, config.clone()).await?;
Api::new(
config.api_port,