# Directory for uploads
UPLOAD_FOLDER=uploads

# Secret key for sessions and CSRF protection
SECRET_KEY=your_secret_key_here  # Use a strong, randomly generated secret key

# Database URI for SQLAlchemy (using DATABASE_URL instead of DATABASE_URI)
DATABASE_URL=sqlite:///verification.db  # Adjust this to your actual database URL

# Flask settings
FLASK_APP=backend/app.py  # Make sure this points to your main app file
FLASK_ENV=development  # Change to 'production' for production deployment

# Mail configuration (ensure your email service provider supports SMTP)
MAIL_SERVER=smtp.gmail.com
MAIL_PORT=587
MAIL_USE_TLS=True
MAIL_USERNAME=your_email@gmail.com
MAIL_PASSWORD=your_email_password  # It's better to use an app-specific password or environment variable
MAIL_DEFAULT_SENDER=noreply@yourapp.com

# CSRF Protection (WTF_CSRF_SECRET_KEY) - Optional if using forms
WTF_CSRF_SECRET_KEY=your_csrf_secret_key_here  # Random, unique key

# Session configuration (optional)
SESSION_TYPE=filesystem
SESSION_PERMANENT=True
PERMANENT_SESSION_LIFETIME=86400  # 1 day in seconds

# API keys for different document types
AADHAAR_API_KEY=your_aadhaar_api_key_here
PAN_API_KEY=your_pan_api_key_here
DRIVING_LICENSE_API_KEY=your_driving_license_api_key_here
VOTER_ID_API_KEY=your_voter_id_api_key_here
PASSPORT_API_KEY=your_passport_api_key_here
