The challenge
Make bookings, payments and class capacity work together.
Real operations include memberships, credits, workshops, capacity, waitlists, cancellations, ClassPass inventory and different payment states. The challenge was turning those rules into something students can understand quickly and Karine can manage without a collection of disconnected tools.
What I built
A website that supports daily operations.
The public site is trilingual, while the product layer includes serverless APIs, authentication, a SQL database, student accounts, booking rules, credits, memberships, workshops, payments, waitlists and admin tools. GitHub pushes deploy automatically through Cloudflare.
AstroFast static customer-facing pages
Cloudflare WorkersServerless API and business logic
SQL databaseBookings, products, users and operational state
Payments & authGoogle identity, Stripe and manual Interac flows
The architecture is intentionally free-tier conscious: static delivery where possible, on-demand calculations instead of background jobs, and paid infrastructure only when real usage justifies it.
How I work
Business rules become testable behavior.
I translate operational requests into explicit states and edge cases before guiding implementation with AI. Then I test both the visible UX and the backend rule: what should happen if a student already has credits, if a payment is pending, if capacity reaches zero, or if two flows overlap.
Define
Model
Guide AI
Test
Regress
Ship
One decision that mattered
Make the booking system the source of truth.
Instead of treating the site as a thin layer over an external calendar, the booking model owns capacity, credits, membership coverage, waitlists and purchase state. That keeps the interface and the business rules aligned and avoids maintaining the same truth in multiple places.
Selected iterations
The product grows from real use.
Booking stateEffective credit cost, Monthly coverage and class-date validity
Workshop flowCapacity holds, member pricing, credits and waitlist positions
Payment stateStripe, Interac, pending orders and duplicate-payment cleanup
Next: keep simplifying admin workflows, strengthen automated regression coverage and add only the infrastructure that real business usage needs.