Custom development · Kerstins Ernährungspraxis e.U., Zeltweg, Austria · 2026 · Autumn 2026
Kerstins Ernährungspraxis — course booking with live seats and automatic course mails
Cooking classes in Zeltweg, Austria, booked online: seats are assigned on submit, every date is an event in the structured data, and confirmation, changes and reminders go out on their own.
7
seats per course date, assigned in a single SQL statement

Only one person gets the last seat.
Something similar in mind?
Tell us briefly what it is about. You get an honest assessment.
What it achieved
- seats per course date, assigned in a single SQL statement
- 7
- people at most per booking
- 3
- Vienna time: booking deadline, adjustable per class
- 23:59
- mail per affected person when a date changes
- 1

1 of 3 · Course list: date, free seats and price from the same record as the JSON-LD
What it looks like

Course list: date, free seats and price from the same record as the JSON-LD

The next class on the home page, with the same free seats

On a phone the next date comes before the first button
How we went about it
- 1
Create a class
Kerstin enters dates, seats, price and booking deadline in the dashboard. Once published, the class is on the website and in the structured data right away.
- 2
Book
On the course page you choose a date and the number of people and enter a billing address. The seats are assigned on submit.
- 3
Confirm
The confirmation goes to the person who booked, the booking to Kerstin. The pages show the new free seats at once.
- 4
Change
If a date is moved, the place changed or a date removed, the system informs everyone who has already booked.
- 5
Remind
After the booking deadline the reminder goes to the participants and the participant list to Kerstin.
The full story
Overview
Kerstin Bauer studied nutritional science at the University of Vienna and runs her nutrition practice in Zeltweg, Styria: counselling by appointment and cooking classes for up to seven people. We built her website with course booking and a dashboard, live at kerstins-ernaehrungspraxis.at. This page covers the technology behind the booking: how seats are assigned, how the dates get into search and which mails the system sends by itself.
Design and user guidance of the website are described in the reference at Kalena Designs (German).
Challenge
A cooking class has a fixed date, a fixed price and seven seats. People want to know whether a seat is free before they sign up, and to be sure afterwards that their seat counts.
Technically that meant: the last seat may be given out only once, even if two people book at the same moment. Date, free seats and price must match on the website, in the data for search engines and in the mails. And whoever has booked should hear about changes to the class without Kerstin keeping a list or writing to everyone by hand.
Approach
The website is a Next.js application with Payload CMS 3. Data lives in PostgreSQL at Neon, images in Vercel Blob, hosting is on Vercel in Frankfurt. Kerstin maintains classes, dates and texts herself in her own dashboard. The website uses no AI: booking, seats and mails follow fixed rules in the code.
Seats that cannot be overbooked
Every class is a record with its dates, and every date knows its seats and how many are taken. On booking, a single SQL statement increases the taken seats, and only if enough are still free. Only one person gets the last seat. Anyone who comes too late sees at once that the date is sold out or how many seats are left. One booking covers up to three people; if the booking cannot be stored, the system releases the seats again.
Bookings close at 23:59 Vienna time, by default three days before the class and adjustable per class. The calculation handles the switch to and from daylight saving time. After the deadline the server accepts no booking, even if seats are still free. Payment is by bank transfer.
Course dates as structured data
On every course page each upcoming date is its own Event in the JSON-LD: start and end, place with address, instructor, price, maximum and remaining capacity, and whether the date can still be booked or is sold out. The values come from the same record as the page itself, so they cannot drift apart. After every booking the home page, the course list and the course page are rebuilt.
The practice is described as a local business with address, service area in the Murtal and the Murau district and price range, Kerstin as a person with her degree. For AI assistants the llms.txt of the website lists all prices and the next course dates with free seats.
Mails the system sends by itself
- After booking: a confirmation with all details and the cancellation terms to the person who booked, and a notice with billing details, allergy information and the remaining seats to Kerstin.
- After a change: if Kerstin moves a date, changes the place or removes a date, every affected person gets exactly one mail and Kerstin a summary.
- After the booking deadline: a reminder to all participants and the participant list to Kerstin, or a note that nobody signed up.
For this, every booking remembers which start time and place the person was told. When Kerstin saves a published class, the system compares the bookings with the new state and writes only where something changed. Drafts trigger no mail, a second save sends nothing twice, past dates are left alone. A cron job checks the reminders once a day. Mails go out through Kerstin's own mailbox, as HTML and plain text, without tracking. If the confirmation mail fails, the booking still stands, and the dashboard shows that Kerstin has to confirm it herself.
The dashboard
In the dashboard Kerstin creates classes, moves dates and sees the bookings per date. Enquiries that come in by phone or through the form are assigned to a date and the seat is confirmed. From then on that person also gets the change mails and the reminder. Allergy information can be deleted after the class, one by one or all at once.
How we automate recurring workflows like these for other businesses is described under process automation.
Technology
Next.js (App Router) · TypeScript · Payload CMS 3 · PostgreSQL (Neon, Frankfurt) · Vercel Blob · Vercel Cron · SMTP · Schema.org JSON-LD
Further reading
- The reference at Kalena Designs (German)Design, prices and enquiry path of the website.
- Process automationConfirmations, reminders and lists that send themselves.
- Custom software developmentBookings, dashboards and databases for your business.
- SEO & GEOStructured data and llms.txt, so search and AI assistants know your dates.
- See the course dates livekerstins-ernaehrungspraxis.at, cooking classes in Zeltweg (German).
Frequently asked questions
Can a cooking class be overbooked?
No. A single SQL statement increases the taken seats of a date, and only if enough seats are still free. If two people book the last seat at the same time, one gets it and the other sees at once that the date is sold out.
Who gets a mail when a course date changes?
Everyone who booked the date, exactly one mail each: for a new date or start time, another place or a cancellation. Kerstin gets a summary. Drafts trigger nothing, and a second save sends nothing twice.
Does the website use AI?
No. Booking, seats, mails and reminders follow fixed rules in the code. Kerstin maintains classes and texts herself in the dashboard.
Can the classes be paid online?
No, payment is by bank transfer and the invoice comes by mail. Online payment can be added later, for example through Stripe.