Skip to content
← Writing

Breaking out of a white-label template

From Kosher Kav

  • architecture
  • React Native
  • Cloudflare

Where it started

Kosher Kav's first version was a white-label tenant of ordering.co's marketplace template. For a client who needed an app in weeks, that was the right first move: a working ordering flow, a store directory and a published app with nearly no engineering.

Where it stopped

The product the client actually wanted was not a generic marketplace. It needed kosher certification data on every listing, a video feed, and a real map experience with filters. The hosted builder regenerates the app from its template on every change, so custom code had two possible fates: impossible, because the template had no hook for it, or overwritten, because the next regenerate replaced it.

The moment that made the decision was small: a change to how the certification badge rendered, done inside the template, gone the following week after a routine update. Every feature on the roadmap would have the same lifespan.

The decision

Own the stack. A React Native app the client controls, a Cloudflare Workers backend on D1 with Durable Objects where coordination was needed, and a Next.js admin. The trade was obvious and worth stating plainly to the client: months of engineering and a permanent maintenance responsibility, in exchange for a product that could become what they wanted.

  • Data first. The store directory was exported from the old tenant and loaded into D1 so the new app had real content from day one.
  • Feature parity before new features. The ordering flow and the store directory were rebuilt to match before the map, the video feed and the certification data were added — the client never had to ship a regression to get an improvement.
  • Free tier as a design constraint. Workers, D1 and SQLite-backed Durable Objects run the whole backend without a paid plan, which matters for a small non-profit-adjacent client more than any architectural elegance.

What it made possible

Everything that followed — the token-bucket rate limiter on the write-once video route, the sync job that surfaces lastSyncedAt in the admin instead of failing silently, 1,347 tests across 291 suites — exists because the code is the client's. None of it could have been built inside the template.

What I'd tell the next client

Start on the template if it gets you to market. Decide up front which feature is the one the template can't do, and treat it as the signal to leave, not as a problem to work around. The cost of staying too long is not the money paid to the vendor; it is every custom feature that quietly dies on the next regenerate.