invy/backend/.env.example

73 lines
2.4 KiB
Plaintext

# Multi-Event Invitation Management System
# Environment Configuration
# ============================================
# Database Configuration
# ============================================
# PostgreSQL database URL
DATABASE_URL=postgresql://wedding_admin:Aa123456@localhost:5432/wedding_guests
# ============================================
# Frontend Configuration
# ============================================
# Frontend URL for CORS and redirects
FRONTEND_URL=http://localhost:5173
# ============================================
# WhatsApp Cloud API Configuration
# ============================================
# Get these from Meta's WhatsApp Business Platform
# Visit: https://developers.facebook.com/apps
# WhatsApp API Access Token (required for WhatsApp messaging)
# This is your permanent access token for the WhatsApp API
WHATSAPP_ACCESS_TOKEN=your_whatsapp_access_token_here
# WhatsApp Phone Number ID (required for WhatsApp messaging)
# This is the ID of the phone number you'll be sending from
WHATSAPP_PHONE_NUMBER_ID=your_phone_number_id_here
# WhatsApp API Version (optional)
# Default: v20.0
WHATSAPP_API_VERSION=v20.0
# WhatsApp Webhook Verify Token (optional, only for webhooks)
# Only needed if you want to receive webhook callbacks from Meta
WHATSAPP_VERIFY_TOKEN=your_webhook_verify_token_here
# ============================================
# Google OAuth Configuration (Legacy - Optional)
# ============================================
# Only needed if you're using Google Contacts import feature
# Get these from Google Cloud Console: https://console.cloud.google.com/
# Google OAuth Client ID
GOOGLE_CLIENT_ID=your_google_client_id_here.apps.googleusercontent.com
# Google OAuth Client Secret
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
# Google OAuth Redirect URI
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
# ============================================
# Testing Configuration
# ============================================
# Email to use as test user when developing (no real auth system yet)
TEST_USER_EMAIL=test@example.com
# ============================================
# Application Configuration
# ============================================
# Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# API port (default: 8000)
API_PORT=8000
# API host (default: 0.0.0.0 for all interfaces)
API_HOST=0.0.0.0
# Application environment: development, staging, production
ENVIRONMENT=development