Commit Graph

16 Commits

Author SHA1 Message Date
Consultoria AS
a8265b9822 feat(web): add dashboard API client and hooks
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:28:06 +00:00
Consultoria AS
ccfc795d41 feat(web): add chart components (KpiCard, BarChart) 2026-01-22 02:27:02 +00:00
Consultoria AS
06e9f3eba7 feat(web): add dashboard layout with sidebar and header
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:25:35 +00:00
Consultoria AS
9d49f8a833 feat(api): add impuestos API endpoints (IVA/ISR mensual y resumen)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:23:54 +00:00
Consultoria AS
a81d8437ce feat(api): add CFDI API endpoints (list, detail, resumen)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:21:25 +00:00
Consultoria AS
4d0d23c642 feat(api): add dashboard API endpoints (kpis, ingresos-egresos, resumen-fiscal, alertas) 2026-01-22 02:19:22 +00:00
Consultoria AS
5bd5f9cef9 feat(api): add tenant middleware for multi-tenant schema isolation 2026-01-22 02:17:15 +00:00
Consultoria AS
c8a1fac045 chore: add Phase 2 dependencies (recharts, tanstack-table, date-fns) 2026-01-22 02:15:15 +00:00
Consultoria AS
79b771b650 feat: add database seed with demo data and Docker Compose setup
- Seed creates demo tenant, users (admin, contador, visor)
- Creates tenant schema with cfdis, iva_mensual, alertas tables
- Inserts 50 demo CFDIs and 6 months of IVA records
- Docker Compose with PostgreSQL, API, and Web services
- Demo credentials: admin/contador/visor @demo.com / demo123

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:02:30 +00:00
Consultoria AS
9986bc1dd3 feat(web): add login and register pages with auth store
- API client with token refresh interceptor
- Auth API functions (login, register, logout, getMe)
- Auth store with Zustand persistence
- Auth layout with centered card design
- Login page with form validation
- Register page with company and user data
- Environment example file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:01:29 +00:00
Consultoria AS
984f1aeb8d feat(web): add base UI components
- Button with variants (default, destructive, outline, secondary, ghost, link, success)
- Input with consistent styling
- Card with Header, Title, Description, Content, Footer
- Label using Radix UI primitives
- Index file for centralized exports

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 02:00:33 +00:00
Consultoria AS
4389f50e7d feat: implement 4-theme system with Zustand persistence
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:58:24 +00:00
Consultoria AS
cbc48cfe26 feat: add Next.js frontend base structure
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:56:17 +00:00
Consultoria AS
e54019ba01 feat: implement JWT authentication system
Add complete authentication infrastructure including:
- Password hashing utilities with bcrypt
- JWT token generation and verification
- Auth service with register, login, refresh, and logout
- Auth controller with Zod validation
- Auth middleware for route protection
- Auth routes mounted at /api/auth

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:54:13 +00:00
Consultoria AS
18bdb24478 feat: add Prisma schema with multi-tenant support
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:51:48 +00:00
Consultoria AS
af617627a4 feat: add Express API base structure
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:50:22 +00:00