PHP monolith Strangler Next.js storefront CO MX CL

Senior Frontend Developer & Tech Lead · 2022 – 2023

Laika Replatforming

PHP monolith to a Next.js / GraphQL storefront so Colombia, Mexico and Chile could run on one architecture.

Next.js · React · TypeScript · GraphQL · i18n

Live product: laikamascotas.cl

Context

Laika's storefront was a PHP monolith without i18n. Mexico and Chile were blocked by the architecture, not by a missing translation file.

My ownership

Constraints

Architecture

PHP monolith  -- strangler -->  Next.js storefront
                                 React + TypeScript
                                 GraphQL (Apollo)
                                 i18n: CO | MX | CL
                                 SSR for catalog / landing

Technical decisions

Tradeoffs

The PHP monolith and the Next.js storefront ran in parallel during the cutover. Traffic moved by locale, not in one night.

Impact

What I learned