From 1c374a2f8262497b9e45e3b8d3ea3feec42de217 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 3 Jul 2025 16:29:22 +0200 Subject: [PATCH] Add backend .env.example --- backend/.env.example | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..e9a14cf --- /dev/null +++ b/backend/.env.example @@ -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=