xpeditis2.0/apps/backend/.env.example
David-Henri ARNAUD e863399bb2
Some checks failed
CI / Lint & Format Check (push) Failing after 1m11s
CI / Test Backend (push) Failing after 1m32s
CI / Build Backend (push) Has been skipped
Security Audit / npm audit (push) Failing after 5s
Security Audit / Dependency Review (push) Has been skipped
CI / Test Frontend (push) Failing after 29s
CI / Build Frontend (push) Has been skipped
first commit
2025-10-07 18:39:32 +02:00

67 lines
1.5 KiB
Plaintext

# Application
NODE_ENV=development
PORT=4000
API_PREFIX=api/v1
# Database
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=xpeditis
DATABASE_PASSWORD=xpeditis_dev_password
DATABASE_NAME=xpeditis_dev
DATABASE_SYNC=false
DATABASE_LOGGING=true
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=xpeditis_redis_password
REDIS_DB=0
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_ACCESS_EXPIRATION=15m
JWT_REFRESH_EXPIRATION=7d
# OAuth2 - Google
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_CALLBACK_URL=http://localhost:4000/api/v1/auth/google/callback
# OAuth2 - Microsoft
MICROSOFT_CLIENT_ID=your-microsoft-client-id
MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
MICROSOFT_CALLBACK_URL=http://localhost:4000/api/v1/auth/microsoft/callback
# Email
EMAIL_HOST=smtp.sendgrid.net
EMAIL_PORT=587
EMAIL_USER=apikey
EMAIL_PASSWORD=your-sendgrid-api-key
EMAIL_FROM=noreply@xpeditis.com
# AWS S3 / Storage
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_REGION=us-east-1
AWS_S3_BUCKET=xpeditis-documents
# Carrier APIs
MAERSK_API_KEY=your-maersk-api-key
MAERSK_API_URL=https://api.maersk.com
MSC_API_KEY=your-msc-api-key
MSC_API_URL=https://api.msc.com
CMA_CGM_API_KEY=your-cma-cgm-api-key
CMA_CGM_API_URL=https://api.cma-cgm.com
# Security
BCRYPT_ROUNDS=12
SESSION_TIMEOUT_MS=7200000
# Rate Limiting
RATE_LIMIT_TTL=60
RATE_LIMIT_MAX=100
# Monitoring
SENTRY_DSN=your-sentry-dsn