Local services · Booking engine, payments and admin for a cooking school
TALLER 24 BOOKING SYSTEM
A neighbourhood cooking school in Barcelona sold three-hour classes through a shop cart. I rebuilt the site and the booking engine so reserving a seat is one screen, and the person running the kitchen operates it without calling me.
- Role
- Solo: product design, UX, architecture and build. AI agents (Claude Code) as engineering pair. The client as the only stakeholder
- Timeline
- May – September 2026 · Live on taller-24.com since June
- Client
- Taller 24 · Cooking school in Sants, Barcelona. Robert Betriu, chef and owner. Joanne Gould, operations
- Scope
- Trilingual public site (es · en · ca), booking with Redsys payment, gift vouchers with a wallet, admin panel, SEO migration
- 1 Screen to book a seat, replacing cart, checkout and confirm
- 52KB Mobile hero image, on a page that used to ship 161 KB of HTML before any image
- 694 Test cases in 94 files, plus a CI job against a real Postgres
A service with limited seats, sold like a physical product
Taller 24 had a brand (4.8 stars, 115 Google reviews) and a product that works: three hours cooking with a chef, you eat what you made, you take the recipes home. The website did the opposite of what the business does.
For the customer, the flow was a shop's. Add to cart, go to checkout, "complete purchase". For something with a date, a time and counted seats. Dates and free seats didn't appear until well into the process.
For Joanne, who runs the operation, it was wp-admin with 25 plugins. A product called "Test" published in the catalogue. The map on the home page pointed at King Street, London, and the phone had a Singapore prefix. Leftovers from the theme demo.
For the business: no course or local-business schema, no meta description, around 30 zombie URLs in the sitemap, and performance that hurt on mobile. 161 KB of HTML before a single image, and a time to first byte above one second. The underlying tension was simple. A service with a headcount isn't a physical product, and every layer of the old site was built as if it were.
What made it hard
- Real money and a real headcount. A concurrency bug is a person at the door with no seat at the table. No overbooking, and no seats blocked forever by payments that never arrive
- One operator, no technical profile. Joanne takes bookings by phone and WhatsApp as well as online. If the admin demanded learning something, she wouldn't use it
- Free-tier infrastructure. Vercel Hobby allows one cron a day. Any design that relied on "a process every five minutes" was out from the start
- Spanish legal frame. Cookie rules from the data-protection agency, no right of withdrawal on dated services, invoices with gapless fiscal numbering, 21% VAT
- Five audiences, one site. Neighbour, gift-giver, family with kids, company, tourist. Without a priority the home page would be for everyone and therefore for nobody
What I owned, and what wasn't mine
All the design and all the build: product, UX, the data model, the booking engine, the admin, the public site in three languages, the SEO migration. AI agents worked as my engineering pair; every product and architecture decision was mine. The client was the only stakeholder.
Two things weren't mine and are worth saying so. The hero animation went through four versions at Robert's request. And the most important product decision in the project was triggered by a bug Joanne reported, not by me.
Booking is an action inside the workshop page, not a separate journey
That one sentence produced the rules that survived every later redesign. The booking widget lives embedded in each workshop page; there is no checkout page. Every catalogue card shows the next session and the seats left, no "click to find out". Email is the identity; the customer never registers or logs in. And reviews are proof, not decoration: they go in the hero, in the footer and in the structured data.
The second ordering decision was audience priority. I asked the client which type of customer he would keep if he could only keep one. The answer, the adult neighbour looking for a plan on Saturday, fixed the home copy, the catalogue's default filter, and which landings got built first and which were postponed.
Build the booking engine instead of buying it
No WooCommerce Bookings, no booking plugin. An own model on Postgres with a 30-minute seat hold and a row lock during the transaction.
Why: the plugin imposed the cart. And in the own system a session's occupancy is never stored as a counter. It's always derived from confirmed bookings plus unexpired pending ones. That removes the one class of inconsistency that would be impossible to audit afterwards.
Trade-off: more own code on the money path. I offset it with a CI job that spins up a real Postgres, applies the schema and runs real writes. That guard caught three bugs that tests with a mocked database would never have seen, one of them on the first real voucher redemption.
Expire seats on read, not with a cron
The 30-minute hold is released lazily on the read path itself and inside the booking transaction. The daily cron is only a backstop.
Why: the original design counted on a sweep every five minutes. Vercel Hobby rejected it at deploy time, not in CI, which passed. Instead of upgrading the plan for a cleanup task, I moved expiry to the place where it matters: the instant someone looks at the seats or tries to book.
Result: the public counter never depends on an external process, and the site stayed on the free plan.
The cancellation voucher became a wallet
Cancelling with more than 72 hours' notice doesn't refund money. It generates a voucher. At first that voucher was a session. After a real incident it became a balance in euros, with partial card payment and the remainder as reusable credit.
Why: Joanne reported that two "45 euro" codes made a 50 euro workshop free. It wasn't a code bug. The "voucher equals one session" model didn't distinguish between a pack of classes and a gift with a value. The product fix was to separate the two. Packs are still sessions. Gifts and cancellations are money.
Trade-off: three schema migrations in production, an append-only ledger of movements, and a voucher-versus-card breakdown in the widget, the email and the admin. I dropped everything else: no new gift-card table, no multi-currency.
One detail that matters: the locator the customer sees is derived from the booking identifier. It is never the invoice number, which is an internal fiscal identifier. That field was removed from the email's type so the compiler prevents anyone reintroducing it.
The admin isn't the brand. It's a tool.
The public site is cream, aubergine and apricot, editorial. The admin panel changes register: grey surfaces on white, dense tables, a single accent ink. Spanish only.
Why: the first version of the admin inherited the public tokens and felt like an extension of the marketing. Joanne needed a tool. The pieces she uses most came from watching how she works: a "today and tomorrow" block on the dashboard, a kitchen sheet in PDF per session with allergies, a button that copies attendees' phone numbers to paste into WhatsApp, and a manual booking form for the ones that come in by phone.
What I removed: the workshop editor demanded English and Catalan translations on every save. It blocked Joanne. Translations became optional behind a toggle. Spanish is canonical.
Date and seats in plain sight
Cuisine and audience filters live in the URL, not in client state. Every card shows the next session and a three-level availability badge. "Last seats" appears from three seats down; "full" exists too, though no session was in that state the day of the capture.
The confirmation carries what's needed and nothing else: email with locator, calendar file, how to get there and what to bring. A simplified invoice in PDF, the full one only on request.
Two steps on a phone, no account
Upcoming dates with the seats left on each, an attendee selector capped by capacity, a single field that accepts a promo code or a voucher, a summary with breakdown and payment through Redsys. Keyboard and reduced-motion respected. Availability is first-level information, not a late error.
An admin for one person
Bookings, sessions in a calendar, workshops with an image picker, vouchers and codes, payments, sent emails, audit log. Every server action carries its own authentication guard, independent of the middleware. Names and emails in the captures are fictitious.
Where reality changed the design
The timezone slipped in twice. Sessions are stored in UTC and Vercel runs in UTC. A formatter without the Madrid timezone showed times two hours early in summer. I fixed it on the public site, and weeks later it reappeared in emails, PDFs and the admin. The fix wasn't a third patch: one formatter for every surface, plus a lint rule that fails if anyone instantiates another.
The cache had a hidden cost. In Next 16 each page isn't one cache entry but around eight, because of per-segment prefetch. A short TTL cost nine times what it looked. I raised it to an hour and moved freshness to on-demand invalidation: the eight paths that touch capacity (public booking, voucher booking, manual booking, cancellation, confirmed webhook, rejected webhook, hold sweep, session edit) invalidate the public pages. The test that protects this doesn't check that a function was called with a string. It checks that the invalidated route exists on disk, because a route deleted months earlier kept "invalidating" with nothing failing.
A security patch broke payments. An automatic dependency bump touched error instrumentation that only runs in production. It passed CI, build and deploy. It failed on the first real booking. My first diagnosis was wrong (I blamed the bump); the real cause was a missing column in a RETURNING clause. Both lessons are written in the project's learnings document: test a real payment before merging runtime changes, and verify raw SQL against real Postgres, not a mock.
Measured, observed, and what I can't claim
Measured, old site against new: 78 scripts on the home page to static pages with deferred JavaScript. 66 stylesheets to one bundle. 161 KB of home HTML to a 52 KB AVIF mobile hero. A 1.1 to 1.6 second time to first byte on shared hosting to static pages served from a CDN. A cart, checkout and confirm flow to one screen inside the workshop page. No structured data to Course, LocalBusiness, FoodEstablishment, BreadcrumbList and AggregateRating. Coverage: 694 test cases in 94 files, plus a CI job on real Postgres. 191 pull requests in four months.
- Observed, no figure: the site has taken real bookings since June 2026. The production incidents above exist because real customers are booking and redeeming vouchers
- Joanne runs the panel daily: manual bookings, kitchen sheet, vouchers. The bugs she has reported are business bugs (the 45 euro voucher), not usage bugs
- The 93 old URLs Search Console flagged as errors now redirect to their equivalent
- What I can't claim: I have no baseline of monthly bookings or conversion from the old site, so I can't attribute a sales increase to the redesign. The GA4 funnel has been instrumented since June. With six months of data, this section changes
The expensive part was everything that only breaks in production
Designing the booking widget wasn't the costly part. Timezones, SQL against a real database, instrumentation that doesn't run in tests were. The answer that worked wasn't "more care". It was turning every incident into an automatic guard (a lint rule, a CI job with real Postgres, a test that looks at the disk) and writing it in a learnings document that any future session reads before touching anything.
And the most important product decision wasn't mine. It was made by a 45 euro voucher applied to a 50 euro workshop.