Implement lab2 PostgreSQL authentication and Redis sessions

This commit is contained in:
ferraronp
2026-10-23 18:33:06 +03:00
parent 65003b6119
commit 5dd32a77ac
23 changed files with 1126 additions and 55 deletions
+11
View File
@@ -0,0 +1,11 @@
import os
import uvicorn
if __name__ == "__main__":
uvicorn.run(
"app.main:app",
host=os.getenv("APP_HOST", "0.0.0.0"),
port=int(os.getenv("APP_PORT", "8080")),
workers=1,
access_log=False,
)