finance-api/.env.development
Заид Омар Медхат 640632ca7e init
2025-12-25 23:33:02 +05:00

49 lines
1.0 KiB
Plaintext

# Application
NODE_ENV=development
PORT=3000
FRONTEND_URL=http://localhost:5173
# Database
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=finance_user
DB_PASSWORD=dev_password_123
DB_NAME=finance_app
# JWT Security
JWT_SECRET=dev_jwt_secret_key_minimum_32_characters_long_here
JWT_REFRESH_SECRET=dev_refresh_secret_key_minimum_32_characters_long
JWT_ACCESS_EXPIRY=15m
JWT_REFRESH_EXPIRY=7d
# Cookie Settings
COOKIE_DOMAIN=localhost
COOKIE_SECURE=false
# Rate Limiting
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX=100
LOGIN_RATE_LIMIT_MAX=5
# Security
BCRYPT_SALT_ROUNDS=12
MAX_LOGIN_ATTEMPTS=10
LOCKOUT_DURATION_MINUTES=30
# AI Integration (Phase 2)
DEEPSEEK_API_KEY=
AI_SERVICE_URL=http://localhost:8000
AI_ENABLED=true
OPENROUTER_API_KEY=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
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_MODEL=openai/gpt-oss-20b:free
OPENROUTER_TIMEOUT_MS=20000
# Logging
LOG_LEVEL=debug
LOG_FORMAT=pretty
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3001