Case study
Mendoza por Mí
Full migration from Vite to Next.js for a high-traffic provincial government platform (600k+ users).
- Next.js
- React
- TypeScript
- Material UI
- TanStack Query
- Zod
- Keycloak
Context and problem
The frontend needed a more scalable architecture with better performance and maintainability.
Approach
I redesigned the data-fetching architecture, defined component standards and migrated to Next.js with server rendering.
Results
- A codebase ready for server rendering and faster page loads.
- Modular architecture that scales with teams and features.
- A solid base for integrations with state agencies.
Architecture
Client
└─ UI (Next.js)
├─ Features / modules
│ ├─ Authentication (Keycloak)
│ └─ Critical flows
├─ Data layer (TanStack Query)
├─ Validation (Zod)
└─ Reusable components
APIs / Services
└─ State agency integrations