NODE_ENV=development PORT=3001 # Max JSON body size (bytes). Default 25MB if unset — needed for event create with base64 logo/banner. # PAYLOAD_MAX_BYTES=26214400 MONGODB_URI=mongodb://localhost:27017/eventbuzz JWT_SECRET=your-super-secret-jwt-key-change-this JWT_REFRESH_SECRET=your-refresh-secret-key-change-this JWT_EXPIRES_IN=15m JWT_REFRESH_EXPIRES_IN=7d # For Vite dev server use http://localhost:5173; for other frontends adjust (comma-separated for multiple). # In NODE_ENV!==production, http://localhost:* and http://127.0.0.1:* are also allowed automatically. FRONTEND_URL=http://localhost:5173 CORS_ORIGIN=http://localhost:5173 # Optional: comma-separated origins for the GrapesJS microsite builder (iframe) calling the API # WEBSITE_BUILDER_CORS_ORIGINS=http://localhost:5173,https://builder.example.com # Google Sign-In (dashboard). Web client ID(s), comma-separated if multiple. # Frontend: VITE_GOOGLE_CLIENT_ID must match the same OAuth Web client. GOOGLE_CLIENT_ID= # Email SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_USER=your-email@gmail.com SMTP_PASS=your-app-password # Payment (optional) RAZORPAY_KEY_ID= RAZORPAY_KEY_SECRET= AWS_ACCESS_KEY_ID=AKIAWY2EEQXF5K4LDCI2 AWS_SECRET_ACCESS_KEY=ZpIxby1vbCLGB7CPWZsAltZBEqkhwzgBpFOKDGj8 AWS_DEFAULT_REGION=ap-south-1 AWS_BUCKET=rapportapp AWS_URL=https://did94hhhcgq1d.cloudfront.net # Amazon Bedrock (AI event generation). Model must be enabled in your AWS account for this region. # BEDROCK_MODEL_ID=anthropic.claude-3-haiku-20240307-v1:0 # Public API base URL injected into published microsite HTML for contact forms (e.g. https://api.example.com/api or http://localhost:3002/api) MICROSITE_API_BASE_URL=http://localhost:3002/api # Firebase Realtime Database (optional — quiz/poll sync). Paths relative to backend/ when starting the API from backend/ FIREBASE_DATABASE_URL=https://eventbuzz-live-default-rtdb.firebaseio.com GOOGLE_APPLICATION_CREDENTIALS=./eventbuzz-live-firebase-adminsdk-fbsvc-bb3dcfd679.json # Or if JSON lives in repo root: ../eventbuzz-live-firebase-adminsdk-fbsvc-bb3dcfd679.json # Or: FIREBASE_SERVICE_ACCOUNT_PATH= / FIREBASE_SERVICE_ACCOUNT_JSON= (see firebase.js)