Rebuilt a legacy PHP storefront on Next.js + MongoDB for a DTC e-commerce brand at 50K MAU. Added embeddings-based product discovery driving 3.4× conversion lift.
A DTC brand at 50K MAU was running a 6-year-old PHP storefront that had been patched so many times it was held together with duct tape. TTFB of 2.1 seconds, a checkout flow that dropped 38% of users at step 3, and a search system that returned irrelevant results for anything beyond exact product names.
The founders didn’t just want a port — they wanted AI-powered product discovery. But they also couldn’t afford a 6-month rewrite.
I delivered both in 12 weeks.
The search and product recommendation system uses OpenAI text-embedding-3-small:
This replaced the old exact-match keyword search with semantic understanding. “Casual weekend wear” now returns relevant products even if those exact words don’t appear in any product description.
I ran the new and old systems in parallel for 6 weeks with a feature flag controlling which experience each user sees. This let us:
I underestimated the data migration complexity. Product variant data in the old DB was a nested string blob — parsing it took a full week I hadn’t scoped. Always audit the source data schema before estimating a migration.
30 minutes, free, no deck. We'll figure out if I'm the right fit for your project.