Initial commit: Parking Manager

Features:
- Manager-centric parking spot management
- Fair assignment algorithm (parking/presence ratio)
- Presence tracking calendar
- Closing days (specific & weekly recurring)
- Guarantees and exclusions
- Authelia/LLDAP integration for SSO

Stack:
- FastAPI backend
- SQLite database
- Vanilla JS frontend
- Docker deployment
This commit is contained in:
Stefano Manfredi
2025-11-26 23:37:50 +00:00
commit c74a0ed350
49 changed files with 9094 additions and 0 deletions

26
.env.example Normal file
View File

@@ -0,0 +1,26 @@
# Parking Manager Configuration
# Security - REQUIRED: Change in production!
SECRET_KEY=change-me-to-a-random-string-at-least-32-chars
# Server
HOST=0.0.0.0
PORT=8000
# Database (SQLite path)
DATABASE_PATH=/app/data/parking.db
# CORS (comma-separated origins, or * for all)
ALLOWED_ORIGINS=https://parking.rocketscale.it
# Authentication
# Set to true when behind Authelia reverse proxy
AUTHELIA_ENABLED=false
# SMTP - Email Notifications (optional)
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@rocketscale.it
SMTP_USE_TLS=true