This commit is contained in:
2026-02-03 21:58:25 +01:00
parent 3019bcaf1a
commit 959dad3fec
14 changed files with 1477 additions and 1 deletions

23
backend/run.py Normal file
View File

@@ -0,0 +1,23 @@
"""
=============================================================================
RUN SCRIPT
=============================================================================
Simple script to run the FastAPI server.
Useful for development and debugging.
Usage:
python run.py
"""
import uvicorn
from config import settings
if __name__ == "__main__":
uvicorn.run(
"main:app",
host="0.0.0.0",
port=settings.PORT,
reload=settings.ENVIRONMENT == "development", # Auto-reload in dev
log_level="info",
)