An open-source online booking system for hair and beauty salons, built with Next.js 16, TypeScript and PostgreSQL. Clients pick a service, a stylist or anyone available and a real free time, then get a link to manage or cancel; staff run the diary, clients, time off, services and opening hours from a signed-in area.
by Light CloudBooking and scheduling


Availability is a pure function in src/lib/availability.ts with no database or clock, so the booking rules are unit-tested on their own, and every booking write goes through src/lib/bookings.ts. Dates are stored as YYYY-MM-DD strings and times as minutes after midnight in the salon's own time zone, which keeps appointments right across clock changes. Most of what a salon changes needs no code: name, address, policies, booking rules, services, opening hours and stylists are edited under Staff, and Settings clears the demo clients, bookings and stylists while keeping the menu for you to edit. npm start applies the migrations and loads the demo salon once, and on Light Cloud each push to your copy redeploys.
Every booking, online or by staff, goes through one function that takes a PostgreSQL advisory lock for that day, re-reads the diary and checks the time is still free before it writes. A second client confirming the same time is asked to pick another.
Yes. Clients give their name, mobile number and email and get a private manage link instead of a password. Returning clients are matched by email, so the salon keeps one record per person.
With RESEND_API_KEY set, clients get a confirmation with their manage link and a note when they cancel, and staff get invitations and password resets. Without a key nothing is emailed: the confirmation page shows the manage link and the server log prints each email.
Yes. Rename the categories and services under Staff, Services, add your stylists or therapists and their hours, and change the details in Settings. Booking rules such as the 15-minute start grid, 2 hours' notice and the cancellation window are in Settings too.
Yes. It is a standard Next.js app with no Light Cloud code: any host with Node.js 22.12 and PostgreSQL runs it with npm ci && npm run build and npm start, once DATABASE_URL and AUTH_SECRET are set.