# =============================================================================
# ERP Transportistas - Variables de Entorno
# =============================================================================

# Server
NODE_ENV=development
PORT=3014
API_PREFIX=/api/v1

# Database
DB_HOST=localhost
DB_PORT=5432
DB_NAME=erp_transportistas_db
DB_USER=erp_admin
DB_PASSWORD=erp_dev_2026

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=10

# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=24h
JWT_REFRESH_EXPIRES_IN=7d

# Logging
LOG_LEVEL=debug

# CORS
CORS_ORIGIN=http://localhost:5174,http://localhost:3000

# =============================================================================
# Integraciones Transporte
# =============================================================================

# PAC (Proveedor de Timbrado CFDI)
PAC_URL=https://api.pac-ejemplo.com
PAC_USER=usuario_pac
PAC_PASSWORD=password_pac
PAC_RFC=RFC_EMPRESA

# GPS/Telematica
GPS_PROVIDER_URL=https://api.gps-provider.com
GPS_API_KEY=your-gps-api-key

# Mapas (Google Maps / HERE / OpenRouteService)
MAPS_API_KEY=your-maps-api-key
MAPS_PROVIDER=google  # google | here | openroute

# WhatsApp Business
WHATSAPP_API_URL=https://graph.facebook.com
WHATSAPP_TOKEN=your-whatsapp-token
WHATSAPP_PHONE_ID=your-phone-id
