Configuration reference¶
| Module | Loader | Responsibility |
|---|---|---|
src/config.py |
env | Portal URL, domain, timeouts, optional single-user |
src/db/config.py |
DATABASE_URL or DB_* |
SQLAlchemy URL |
src/endpoints/config.py |
env | API title, host, port, reload |
src/kms/config.py |
mode encrypt/decrypt | AWS keys + AWS_KMS_KEY_ID + region |
src/mail/config.py |
env | Resend + Mailtrap + ADMIN_EMAIL |
src/celery/config.py |
REDIS_URL |
Broker, Beat crontab, retries, time limits |
src/auth/cookies.py |
COOKIE_SECRET_KEY |
Cookie signing |
Biweekly calendar: is_bi_weekly_sunday() in src/utils.py (LA timezone, anchor 2025-12-21).
Template HTML for forms/success/error lives with the FastAPI app templates directory used by Jinja2Templates in main.py.