Client Project · Booking & Payments2026

Private Dining Booking System

Turning a manual reservation process into a paid, self-serve booking flow — inside a website builder the client already used.

Node.jsNetlify FunctionsPostgreSQLStripeOpenStreetMap / OSRM
Private client project · details under NDA
Private Dining Booking System — full preview

The Problem

The client runs an invite-style private dining experience that includes guest pickup. Every booking used to be handled by hand: checking whether a guest's address was within driving range, collecting dietary needs and drink pairings for each person, confirming dates, and chasing deposits. The site was built on a hosted website builder, so the solution had to plug into it rather than replace it.

The Approach

I built a serverless booking tool that embeds into the existing site. A guest enters their pickup address; it is geocoded and the driving time is calculated with OSRM — inside the range the booking continues, outside it the guest is offered a meeting point instead. Guests pick up to three preferred dates from the dates the team has opened, enter details for each person in the party (allergies, beverage pairing, birthday), and pay a per-guest deposit with Stripe. Bookings are stored in PostgreSQL and managed from an admin dashboard with search, pagination, status changes, notes and date management.

Key Design Decisions

Rules Enforced by the System, Not the Staff

Guests under 21 are automatically limited to the non-alcoholic pairing, distance limits are checked before anyone can pay, and new bookings arrive as 'pending' until an admin confirms them. Business rules that used to depend on someone remembering them now can't be skipped.

Search That Forgives Typos

Staff look up bookings by name, booking number or date while on the phone. I used PostgreSQL's pg_trgm for tokenized, fuzzy and date-aware search, with matches highlighted in the results, so the right booking comes up even with a misspelled name.

Hardening the Payment Path

Payment is where bugs cost real money. I fixed race conditions between guest count and payment intent creation, removed stuck loading states, injected the Stripe publishable key at build time instead of hardcoding it, and fixed a timezone bug that shifted calendar dates by a day.

The Results

The system runs in production and handles real bookings and deposits. The team went from coordinating reservations by hand to confirming paid bookings from a dashboard, and the work was delivered through a ticketed workflow with reviewed pull requests.