# BFF Backend Environment Variables # Copy this file to .env and update with your actual values # Database DATABASE_URL="postgresql://app:app@localhost:5432/portal?schema=public" # Redis REDIS_URL="redis://localhost:6379" # WHMCS Integration WHMCS_BASE_URL="https://your-whmcs-domain.com" WHMCS_API_IDENTIFIER="your_api_identifier" WHMCS_API_SECRET="your_api_secret" # Salesforce Integration - JWT Bearer Flow SF_LOGIN_URL="https://login.salesforce.com" SF_CLIENT_ID="your_connected_app_consumer_key" SF_PRIVATE_KEY_PATH="../../secrets/sf-private.key" SF_USERNAME="integration_user@yourcompany.com" # Application PORT=4000 NODE_ENV="development" # JWT - IMPORTANT: Generate a secure random key for production! JWT_SECRET="CHANGE_THIS_IN_PRODUCTION_use_openssl_rand_hex_64" JWT_EXPIRES_IN="7d" # Security BCRYPT_ROUNDS=12 # CORS CORS_ORIGIN="http://localhost:3000"