# 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=EAAMdmYX7DJUBQyE1ZApdAPw1ngnu8XIfjfhBtyauCAYt0OJ95ZB8NfMTBpbWHcebGLwhPn27IGXyn8e6XFgcHJylCZBXnZAIy6Lby5K9qCMLAim8PKK9nkvh39DZAmndhkb0fWxoUXZCKbiZAPuhN2wWrC7mEdwMJV2Jl5CaJA8Ex5kWF11Oo6PXcB4VbTjyyflbi7N5thY4zXWULNtzEMC0rhEdVLm3hhcrFTqgHR7RDUpWbP7toaSvq0HmbXvKVe1Wgnx3mQoqXxHEPHohLh6nQWf

# 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=1028674740318926

# WhatsApp API Version (optional)
# Default: v20.0
WHATSAPP_API_VERSION=v20.0

# WhatsApp Template Name (required for template messages)
# The name of the approved message template in Meta (e.g., wedding_invitation)
WHATSAPP_TEMPLATE_NAME=wedding_invitation

# WhatsApp Language Code (optional, default: he)
# ISO 639-1 language code or Meta-specific format (e.g., he, he_IL, en, en_US)
WHATSAPP_LANGUAGE_CODE=he

# 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

# Backend public URL (used when returning uploaded file URLs)
BACKEND_URL=http://localhost:8000

# Application environment: development, staging, production
ENVIRONMENT=development
