# Node.js environment setting: "development", "production", or "test" NODE_ENV=development # Application server port PORT=3000 # Application name (optional, can be used in logging or metadata) APP_NAME="YourAppName" # Base URL of the application (Update based on your deployment) APP_URL="http://localhost:3000" # MongoDB connection string (Change for production use) MONGODB_URL="mongodb://localhost:27017/mydatabase" # Secret key used for encryption and decryption (Replace with a strong key in production) SECRET_KEY="SECRET_KEY_FOR_ENCRYPTION_AND_DECRYPTION" # JWT secret key for signing authentication tokens (Use a strong and unique key) JWT_SECRET="JWT_SECRET_KEY" # Whitelisted domains for CORS (Comma-separated values, update for production) WHITE_LISTED_DOMAINS="http://localhost:4200, http://localhost:3000" # SMTP email configurations (Used for sending emails) SMTP_HOST=smtp.zoho.com # SMTP server host SMTP_PORT=465 # SMTP server port (Use 587 for TLS, 465 for SSL) SMTP_USERNAME=email@mailinator.com # SMTP authentication email SMTP_PASSWORD=appPassword # SMTP authentication password (Use environment variables securely) EMAIL_FROM=email@mailinator.com # Default sender email address # Note: # - Change the default values before deploying to production. # - Never expose sensitive credentials in public repositories. # - Use a .env file in your local development and add .env to .gitignore.