
The problem
The client needed to sell through WhatsApp with a fast catalog that is easy to maintain.
Conditions
- No payment gateway: purchases close through WhatsApp.
- A catalog that grows without editing each page.
- Data that will later live in a database.
What I decided and why
Catalog first
Routes, sitemap, and metadata are generated from the catalog, not by hand.
Decoupled data
A separate data layer, ready to connect to Supabase.
Light images
A pipeline that normalizes images to WebP.
Outcome
- Next.js 16, React 19, and strict TypeScript.
- Purchase buttons trackable with GA4 / GTM.
- Ready to move from a static catalog to Supabase.
