feat(backend): setup FastAPI + SQLite + config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-21 21:14:10 +01:00
parent d79f94e948
commit cf4fbfd4a0
5 changed files with 60 additions and 0 deletions

5
backend/app/config.py Normal file
View File

@@ -0,0 +1,5 @@
import os
DATABASE_URL = os.getenv("DATABASE_URL", "sqlite:///./jardin.db")
UPLOAD_DIR = os.getenv("UPLOAD_DIR", "./data/uploads")
CORS_ORIGINS = os.getenv("CORS_ORIGINS", "http://localhost:5173").split(",")