This commit is contained in:
Redsandy
2026-03-14 18:48:57 +03:00
parent 1d1350fc13
commit 3ea4fb4771
40 changed files with 2150 additions and 0 deletions

26
.env.example Normal file
View File

@@ -0,0 +1,26 @@
# --- Database ---
# SQLite (local development):
DATABASE_URL=sqlite:///geozoner.db
# PostgreSQL (production):
# DATABASE_URL=postgresql://user:password@localhost:5432/geozoner
# --- Auth ---
SECRET_KEY=change-me-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=15
REFRESH_TOKEN_EXPIRE_DAYS=7
# --- App ---
APP_HOST=0.0.0.0
APP_PORT=8000
DEBUG=true
# --- CORS ---
CORS_ORIGINS=http://localhost,http://localhost:8000,http://127.0.0.1
# --- Firebase Cloud Messaging ---
# FCM_CREDENTIALS_PATH=/path/to/firebase-credentials.json
# --- Geo Settings ---
MIN_ZONE_AREA_M2=5000
LOOP_CLOSURE_RADIUS_M=50
DOUGLAS_PEUCKER_EPSILON_M=5