Initial commit: FastAPI app with Loguru, PostgreSQL, and Docker Compose

Made-with: Cursor
This commit is contained in:
Kevin
2026-04-20 17:58:03 +08:00
commit d1a3d029ec
15 changed files with 834 additions and 0 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
# Copy to .env and adjust. Used by local `start.sh` and Docker Compose.
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=operation_room
# Async SQLAlchemy URL (asyncpg). For local dev against docker-compose.dev.yml:
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/operation_room