Projects / Quartz: Salon Booking by Station
Quartz: Salon Booking by Station
Pick your chair on a floor plan, pay a deposit, get a WhatsApp reminder

A complete booking system built as a working demo: guests choose a station on a floor plan of the salon or a time on a calendar and pay a deposit, and the salon runs the day from a live timeline.
The challenge
A salon booking by WhatsApp and a paper diary double-books chairs, loses time to no-shows, and can’t see at a glance which station or stylist is free at a given time.
The architectural solution
Guests book a specific station, by clicking it on an SVG floor plan or picking a time first, and pay a 30% deposit through Payfast, with free cancellation up to 24 hours before. The salon side has a drag-and-drop timeline, a live floor plan where stations can be greyed out, phone bookings, rosters and time off, and stats on popular times, stations, treatments and stylists. Confirmations and reminders appear as WhatsApp messages with reply buttons (a mockup: nothing is sent). A read-only tour shows the salon side to visitors with guests’ names shortened and no contact details.
Next.js static site, a Node API (Hono) and a scheduled-jobs worker on PostgreSQL, all in Docker on one small EC2 instance behind Caddy. Double-booking is prevented by Postgres exclusion constraints, not just application code, and one pure, property-tested availability engine decides what can be booked everywhere. Payfast notifications are verified four ways and processed idempotently.
Key deliverables
- Book a specific station from an SVG floor plan, or a time from the calendar
- Booked and greyed-out stations are marked by pattern as well as colour, and can’t be picked
- Database-enforced protection against double-booking, tested with simultaneous requests
- 30% Payfast deposit with a 24-hour free-cancellation rule; guests can move or cancel online
- Drag-and-drop timeline for the salon, with roles enforced by the API and an audit trail
- Stats on popular times, stations, treatments and stylists against the previous period
- WCAG 2.1 AA checked in light and dark mode, and bookable with the keyboard alone
Technology stack
- Next.js
- TypeScript
- Node.js
- PostgreSQL
- Payfast
- Docker
- AWS EC2
- Playwright