feat(backend): setup FastAPI + SQLite + config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
5
backend/app/config.py
Normal file
5
backend/app/config.py
Normal 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(",")
|
||||
Reference in New Issue
Block a user