Picture replacing a car's engine while someone is still driving it down the highway. No pit stop, no "back in two weeks" banner, and the driver shouldn't feel a thing.
That was the brief for Increddy , a storefront selling game and software license keys. It ran on Shopify. The commerce logic the business actually needed didn't fit Shopify well, so the backend had to go: cart, checkout, payments, inventory, all of it.
The frontend had to stay. Same Next.js app, same Zustand stores, same React Query hooks, same customers who'd never know anything changed.
Here are the three calls that made that work, and the one that sounds reckless but turned out to be the safest.
1. We didn't write a spec. We read the frontend.
The textbook move is a specification document: list the endpoints, define the payloads, hand it to the backend team.
We skipped it.
A spec written before the build is a guess about what the frontend needs. The frontend itself is the truth.…