Add backend .env.example

This commit is contained in:
2025-07-03 16:29:22 +02:00
parent 576e7c5d35
commit 1c374a2f82
+33
View File
@@ -0,0 +1,33 @@
NODE_ENV=development
PORT=3000
# URLs
ADMIN_URL=http://localhost:3000
FRONTEND_URL=http://localhost:3001
# Security
JWT_SECRET=dev-secret-key
# Email Configuration
SMTP_HOST=mailhog
SMTP_PORT=1025
SMTP_SECURE=false
SMTP_USER=
SMTP_PASS=
EMAIL_FROM=noreply@localhost
# Storage Paths (relative to project root)
STORAGE_PATH=./storage
EVENTS_PATH=./storage/events
ARCHIVE_PATH=./storage/events/archived
# Logging
LOG_LEVEL=info
# Database (for production, consider PostgreSQL)
DATABASE_CLIENT=sqlite3
DATABASE_PATH=./data/photo_sharing.db
# Umami Analytics (optional)
UMAMI_URL=
UMAMI_WEBSITE_ID=