Retail · 4-person team
Headless Commerce Platform
Rebuilt a legacy storefront into a Next.js + Laravel architecture with PostgreSQL, cutting page load times and enabling multi-region catalogues.
- Role
- Lead Engineer
- Year
- 2025
- Timeline
- 9 months
- Team
- 4 engineers, 1 designer
The problem
A ten-year-old monolithic storefront could not handle campaign traffic, and every catalogue change required a full deploy.
Approach
- 01
Mapped the legacy domain and carved the storefront out first, keeping the monolith as the source of truth during migration.
- 02
Built a Next.js front end with edge-cached product pages and a Laravel API layer behind it.
- 03
Moved orders to PostgreSQL with partitioned tables, and added Redis for cart and session state.
What shipped
- Incremental migration with zero downtime across 14 releases
- Edge-cached product pages, 1.2s LCP on 4G
- Partitioned order tables to keep reporting queries under 100ms