# Database Configuration
DATABASE_URL=sqlite:///./gallery.db
# For MySQL: DATABASE_URL=mysql+pymysql://username:password@localhost/gallery_db
# For PostgreSQL: DATABASE_URL=postgresql://username:password@localhost/gallery_db

# Security
SECRET_KEY=your-super-secret-jwt-key-change-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7

# Email Configuration (Gmail SMTP)
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-gmail@gmail.com
SMTP_PASSWORD=your-app-password
FROM_EMAIL=your-gmail@gmail.com

# File Upload Configuration
UPLOAD_DIR=uploads
MAX_FILE_SIZE=52428800
FACE_ENCODINGS_DIR=face_encodings
FACE_RECOGNITION_TOLERANCE=0.6

# CORS Configuration
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
