← Back to Portfolio

Go Pueblos

Interactive Mexico travel directory and mapping application powered by modern server-side rendering.

RoleLead Full-Stack Developer
Timeline4 Weeks
Tech StackNext.js, React, Tailwind CSS, Sanity CMS

The Challenge

Mexico's "Pueblos Mágicos" (Magical Towns) are a rich cultural asset, but finding centralized, highly visual, and easily navigable information about them is difficult for travelers. The goal was to build a directory that is not only highly performant (crucial for users on mobile networks while traveling) but also visually stunning, with interactive mapping features.

The Solution

I engineered a high-performance Single Page Application (SPA) using Next.js. By leveraging Server-Side Rendering (SSR) and Static Site Generation (SSG), the application achieves near-instant load times while remaining highly SEO-friendly.

Technical Implementation

To balance a rich user experience with developer velocity, the architecture was split between headless content management and real-time user data:

  • Hybrid Content Delivery: Static data (town descriptions, historical facts, curated images) is managed via Sanity CMS and statically generated at build time using Next.js `getStaticProps`.
  • Interactive Mapping: Integrated interactive web maps using WebGL-based libraries (like Deck.gl) to provide a smooth, 60fps panning and zooming experience across hundreds of data points without blocking the main thread.
  • Responsive & Accessible UI: Built a fully bespoke design system using Tailwind CSS, ensuring the application looks perfect on any device size while passing strict web accessibility (a11y) standards.

The Impact

The platform provides an intuitive, app-like experience directly in the browser. The Next.js architecture resulted in perfect Core Web Vitals, allowing the site to rank rapidly on search engines. It serves as a prime example of building scalable, modern travel directories capable of handling thousands of concurrent users seamlessly.