Add auth components, finance pages/hooks/services, contract components. Enhance LoginPage, AdminLayout, hooks. Remove legacy apiClient. Add mock data services for development. Addresses frontend gaps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
905 B
Plaintext
27 lines
905 B
Plaintext
# ===========================================================
|
|
# ERP CONSTRUCCION - CONFIGURACION FRONTEND
|
|
# ===========================================================
|
|
# Copiar este archivo a .env y ajustar valores
|
|
# Puertos oficiales: Frontend 3020, Backend 3021
|
|
|
|
# API Backend URL
|
|
VITE_API_URL=http://localhost:3021/api/v1
|
|
|
|
# Tenant ID para desarrollo (UUID del tenant en BD)
|
|
# En produccion: resolver dinamicamente por subdominio
|
|
VITE_TENANT_ID=default-tenant
|
|
|
|
# Ambiente
|
|
VITE_APP_ENV=development
|
|
|
|
# ===========================================================
|
|
# DEMO LOGIN (SOLO DESARROLLO)
|
|
# ===========================================================
|
|
# VITE_SHOW_DEMO_LOGIN: Muestra boton de credenciales demo
|
|
# IMPORTANTE: NUNCA habilitar en produccion
|
|
VITE_SHOW_DEMO_LOGIN=false
|
|
|
|
# Credenciales demo (solo si VITE_SHOW_DEMO_LOGIN=true)
|
|
# VITE_DEMO_EMAIL=admin@demo.com
|
|
# VITE_DEMO_PASSWORD=demo123
|