All case studies

From a pretty prototype to a site the client runs

A luxury brokerage's one-file prototype, rebuilt as a real site its staff can update without a developer.

51
tests running against a real database in Cloudflare's runtime Source: project documentation
8 of 18
planned build tasks done Source: task list and change history
446
lines of written spec before the first line of code Source: design spec, Sep 6, 2026

The problem

Axis Homes value to confirm is a boutique luxury brokerage in Bangalore. It sells ready-to-move homes, pre-launch towers and gated plots priced from ₹5 crore to over ₹20 crore, and many of its buyers are Indians living abroad.

It had a striking prototype: one 636-line HTML file with a dark ink-and-gold look and a gold “axis line” down the left edge that fills as you scroll. My spec says it plainly: “It is not yet a website.” It had no listing pages, no working forms, no real content, and no way for anyone but a developer to change it. The goal is a real site “that a non-technical person at Axis Homes can keep current without touching code.”

What I built

I wrote the spec first. It lists ten design fixes and the content the client must supply before launch, then an 18-task build plan. Eight tasks have landed:

  • The site runs on Cloudflare: Astro pages, a database of listings, photos and enquiries, and photo storage with resizing on the fly.
  • One set of names for property types, and filters that live in the page address, so a filtered view can be shared and works without JavaScript.
  • A displayed price that can never read lower than the real one. Rupee amounts are stored as whole numbers, and every rounding goes up.
  • Exactly one hero photo per listing, enforced by the database itself.
  • A gold text color that passes the contrast standard, replacing one that measured 4.251:1.
  • The axis line now meets its markers. In the prototype, the arrowhead never lined up with them.

The hard part: no invented urgency

Luxury sites love urgency. The prototype had a price-rise deadline and a count of plots left, and both were made up. In Karnataka, a registered agent’s advertising falls under K-RERA, the state’s real estate regulator, so invented urgency exposes the agent to it. Next to the word “boutique”, it also reads cheap.

On the new site, an availability line appears only when a person types one into the listing. The field has no default. The prototype also showed an agent registration number and six listing registration numbers, all invented. The sample data leaves every registration number empty and marks each sample listing as sample.

Under the hood
  • availability_note is nullable with no default, and scarcity renders only from it.
  • scripts/seed.sql: rera_id is NULL on every row, because “a fabricated registration number on a live page is a regulatory problem”. Every summary starts with a SAMPLE, NOT FOR PUBLICATION marker, which the planned pre-launch check (task 18) will reject in published rows.
  • Seeds load with an upsert, because INSERT OR REPLACE would cascade-delete uploaded photos.
  • formatINR ceiling-divides in BigInt, so it avoids floating-point rounding errors. The hero rule is a partial unique index on listing_images(listing_id) WHERE is_hero = 1, plus CHECK (is_hero IN (0, 1)) to close the loophole.

Results

  • 8 of 18 planned tasks done (tasks 1 to 7 and 17), September 6 to 8, 2026. How measured: the repository’s agent guide and git history.
  • 51 tests in 6 files, running inside workerd (Cloudflare’s runtime) against a real database. How measured: the test count recorded in the agent guide.
  • value to confirm

What’s next

  • The public site: the listings index, detail pages, currency toggle, enquiry form and admin screens, then the pre-launch audit.
  • The client’s content: registration numbers, contact details and photography, handed over before the audit.
  • The live domain, verified and pointed at the site.

If you have a prototype that looks right but can’t take an enquiry, I can turn it into a site your team runs without a developer.

Have a similar problem? Book a call.