load project

This commit is contained in:
2026-06-15 09:18:58 +03:00
commit bf1839607f
70 changed files with 7503 additions and 0 deletions

29
.env.example Normal file
View File

@@ -0,0 +1,29 @@
# PostgreSQL
POSTGRES_USER=doceditor
POSTGRES_PASSWORD=doceditor
POSTGRES_DB=doceditor
# Application
SECRET_KEY=change-me-in-production-use-openssl-rand-hex-32
ADMIN_EMAIL=admin@example.com
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin123
# URLs (used in emails and CORS)
FRONTEND_URL=http://localhost:5173
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# Ports exposed on host
BACKEND_PORT=8000
FRONTEND_PORT=5173
# SMTP (optional — codes logged to backend console if empty)
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@example.com
SMTP_USE_TLS=true
ACTIVATION_CODE_EXPIRE_HOURS=24
PASSWORD_RESET_CODE_EXPIRE_HOURS=1