Openhour
Online booking that can't double-book.
Appointments for small businesses: a booking page for customers, and a calendar, opening hours and services for the owner. Built on Next.js and PostgreSQL.
You get a private sample business with staff, services and bookings. No sign-up, and it's deleted after 24 hours.
No double bookings, guaranteed
Overlaps are refused by a PostgreSQL exclusion constraint, so even a bug in the app can't put one person in two places.
Each business is walled off
Row-level security means a business's queries can only ever see its own rows, whatever the code asks for.
Time zones done properly
Customers see times in their own zone. Days when the clocks change are handled, and tested against an independent model.
Deposits that survive real life
Late payments, repeated webhooks and failed refunds each have one right answer, and a test that checks it.