Files
efir-api-server/.env.example

21 lines
453 B
Plaintext

# Server Configuration
SERVER_PORT=8080
ENVIRONMENT=development
# Database
DB_DRIVER=sqlite
DB_PATH=./messenger.db
# JWT Authentication
JWT_SECRET=your-super-secret-jwt-key-change-in-production-32bytes
JWT_EXPIRY_HOURS=720
# Encryption (32 bytes for AES-256)
ENCRYPTION_KEY=12345678901234567890123456789012
# File Storage
STORAGE_PATH=./storage/attachments
MAX_FILE_SIZE_MB=20
# CORS
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080