25 lines
1003 B
Plaintext
25 lines
1003 B
Plaintext
DATABASE_URL=postgresql://whatssender:whatssender123@localhost:5432/whatssender
|
|
JWT_SECRET=your-secret-key-change-in-production-min-32-chars
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
|
|
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_REDIRECT_URI=http://localhost:8000/api/imports/google/callback
|
|
# Generate Fernet key: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
|
GOOGLE_TOKEN_ENCRYPTION_KEY=your-fernet-key-base64-44-chars
|
|
|
|
# WhatsApp Provider
|
|
WHATSAPP_PROVIDER=mock # mock, cloud, or telegram
|
|
WHATSAPP_CLOUD_ACCESS_TOKEN=your-whatsapp-cloud-api-token
|
|
WHATSAPP_CLOUD_PHONE_NUMBER_ID=your-phone-number-id
|
|
WHATSAPP_WEBHOOK_VERIFY_TOKEN=your-webhook-verify-token-random-string
|
|
|
|
# Telegram Provider (for testing)
|
|
TELEGRAM_BOT_TOKEN=your-telegram-bot-token-from-botfather
|
|
|
|
# Rate Limiting
|
|
MAX_MESSAGES_PER_MINUTE=20
|
|
BATCH_SIZE=10
|
|
DAILY_LIMIT_PER_CAMPAIGN=1000
|