Live demo

The walk-in check-in and booking system from my projects, running in your browser. Check in as a guest, run the front desk, then book ahead.

The tour walks through each step, and each step says what the production backend does there. Nothing you type leaves this page.

Maple & Co. · Main Street

Welcome to

Maple & Co.

Tap below to add yourself to the line. It takes about a minute.

This is a live demo. Nothing you type leaves this page.

Front desk

Main Street

Live

In line 2

  • Maya Chen

    Haircut · 12 min ago

  • Jordan Lee

    Manicure · 4 min ago

Appointments

  • Sam Rivera

    Lash lift · Today, 11:00 AM

  • Priya Shah

    Haircut · Today, 1:30 PM

  • Chris Ortiz

    Brow shaping · Tomorrow, 10:15 AM

How the real system is built

The demo runs on sample data. Production has run at a 3-location business since September 2024, with 87,000+ check-ins so far. Postgres enforces the rules that matter, so no client can get them wrong.

Tenant isolation in the database

Row-level security policies scope every read and write to the signed-in user's business. Tablets and public pages go through security-definer functions that return only what the screen needs. The tablet never reads the customer table.

No double-booking, even under races

Each appointment is a time range. A Postgres exclusion constraint rejects overlapping ranges for the same employee or branch. Two guests who take the same slot at the same moment cannot both succeed.

Safe concurrent check-ins

One database function creates the guest and the visit together. If two tablets register the same phone at once, a unique key with ON CONFLICT makes both land on the same guest.

A live front desk

Staff screens subscribe to Postgres changes over Supabase Realtime, filtered to their business. A check-in or a call shows on every screen as soon as it commits.

Texts that send exactly once

Each text is a scheduled row. A dispatcher claims due rows with FOR UPDATE SKIP LOCKED, so parallel workers never take the same one. Partial unique indexes allow one review request per visit. Texts send only in local daytime hours.

Consent and signed webhooks

Twilio webhooks check the request signature before they act. A STOP reply turns texts off for that phone at every business, and START turns them back on.

Tested end to end

Fifteen Playwright suites drive the real app, most of them against a real Postgres database, from check-in and booking to roles, billing, and access checks that try to cross tenants.

This demo

One pure reducer holds the whole demo. The tour is a table of steps, and the current step is derived from what the visitor has done, never stored. So a visitor who goes off script still sees the right step.

  • Next.js
  • React
  • TypeScript
  • Supabase
  • PostgreSQL
  • Row-level security
  • Realtime
  • Twilio
  • Playwright