Files
efir-api-server/.env.example

21 lines
485 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=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
# File Storage
STORAGE_PATH=./storage/attachments
MAX_FILE_SIZE_MB=20
# CORS
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080