IA Systems & Data

Alianza para el Progreso

The party's official site in Spanish and Quechua, with its history, congressional caucus, resource library, newsletter and a role-based admin panel.

Client
Alianza para el Progreso
Year
2025
Service
Web development
Role
Full-stack technical lead
Format
Website
Status
In production
Home page of the official Alianza para el Progreso site with the main menu and language switch
01 · The challenge

An official site in two languages that the team could manage on its own.

The party needed a site in Spanish and Quechua with its history, its congressional caucus and a library of downloadable resources, plus a panel with different access levels to manage the content and the newsletter.

02 · What we did

An institutional site with an admin panel.

We built the site in Next.js with next-intl for Spanish and Quechua: institutional home page, history page, congressional caucus with each member's social profiles and a resource system by category with search and downloads.

The panel uses NextAuth with Google and three roles (admin, sub-admin and user) and manages the newsletter subscribers, with emails sent through Nodemailer. We deployed it with Docker and Vercel.

03 · Features

What it includes

  • Institutional home page

    Dynamic hero, informative sections, an interactive QR code pop-up and dark mode.

  • History page

    Timeline featuring the School of Political Formation (EFOP), image galleries and events.

  • Congressional caucus

    Grid of congress members with links to their Facebook, Instagram, X, TikTok and YouTube profiles.

  • Resource library

    Nested categories (educational, financial, technical), global search and file downloads.

  • Newsletter

    Sign-up with email validation, delivery through Nodemailer and subscriber management from the panel.

  • Differentiated roles

    Admin with full access, sub-admin with partial management and read-only user.

04 · How we built it

Stack and architecture

  • Next.js 15
  • React 19
  • TypeScript 5
  • Tailwind CSS 3
  • Prisma 5
  • MySQL
  • NextAuth (Google OAuth)
  • Docker
Frontend
Next.js 15, React 19 and Tailwind CSS 3, with next-intl for both languages and Framer Motion for animations.
Backend
Prisma with MySQL, versioned migrations and NextAuth with role-based permissions.
Integrations
Google OAuth for sign-in and Nodemailer for the newsletter and notifications.
Infrastructure
Multi-stage Docker build and automatic Vercel deployment from the main branch.
05 · Technical challenges

What we solved

  1. Spanish and Quechua without duplicating pages

    next-intl with per-language routes, the chosen language saved in the browser and translated metadata with getTranslations().

  2. Resources in nested categories

    Prisma schema with nested categories, recursive search, cursor-based and offset-based pagination, and breadcrumbs for orientation.

  3. Optimized congress members grid

    Lazy loading with Intersection Observer and skeleton loaders, WebP images with next/image and queries that only fetch the fields they need.

06 · Project facts

In detail

Site languages
Spanish and Quechua
Access levels
3
See all

Need something like Alianza para el Progreso?

Tell us about your project. Free diagnosis and a fixed proposal within 48 hours.