finance-api/.env.development
Заид Омар Медхат 33602d0fe9 chore: initialize NestJS project with Docker and environment configuration
Add project scaffolding and development infrastructure:
- Add environment configuration files (.env.development, .env.example) with database, JWT, security, AI integration, logging, and CORS settings
- Add .gitignore to exclude build artifacts, logs, IDE files, and environment variables
- Add .prettierrc with single quotes and trailing commas configuration
- Add multi-stage Dockerfile with development, build, and production stages
- Ad
2025-12-13 15:45:08 +05:00

45 lines
845 B
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=
OPENROUTER_API_KEY=
AI_SERVICE_URL=http://localhost:8000
AI_ENABLED=false
# Logging
LOG_LEVEL=debug
LOG_FORMAT=pretty
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3001