2 Commits

Author SHA1 Message Date
Nurfog 235f15e1e7 fix: audit 89 bugs - critical fixes
CRITICAL:
- JwtMiddleware orden (antes de UseAuthentication)
- JWT Secret en appsettings.json (no vacio)
- Transbank MySQL connection string (User=root + placeholder)
- package-lock generado + Dockerfile usa npm install
- Tests E2E: selectores corregidos con name attributes
- Tests: rut invalido reemplazado, casos sin auth
- Contacto page: apunta a services-externos (no backend)
- .env.example: credenciales reales -> placeholders

HIGH:
- extra_hosts agregado a services-externos en compose
- Dockerfile frontend: npm ci -> npm install
2026-07-08 11:30:16 -04:00
Nurfog cf2349ef2f feat: fase 3 - frontend next.js setup
- Next.js 15 + TypeScript + Bootstrap 5 + FontAwesome
- Layout replica SAM.Master (sidebar collapsable + header)
- Sidebar, Header, LoadingSpinner, ModalConfirmacion components
- Login page with RUT validation
- Dashboard page with summary cards
- AuthContext + JWT auth with cookies
- api.ts centralized HTTP client
- useInactividad hook (30min timeout)
- validarRut.ts + utils.ts migrated
- Original CSS + images copied from project
- Dockerfile multi-stage build
2026-07-08 10:54:02 -04:00