TheBarberKit
All-in-one booking platform for barbershops

A multi-tenant SaaS platform that gets barbershops online with appointment booking, payment processing, and shop management. Each shop gets its own branded site with a smooth client booking flow and a full admin dashboard.
role
Solo Developer
type
Multi-Tenant SaaS
stack
Next.js 16, React 19, Supabase, Stripe Connect, Twilio, Resend
focus
Booking & Shop Management
Building a Multi-Tenant Booking Platform
The core challenge was designing a multi-tenant system where each barbershop gets an isolated, branded experience while sharing infrastructure. Each shop resolves via subdomain, with Supabase row-level security ensuring complete data isolation. The booking engine calculates available slots in real-time by intersecting barber availability with existing appointments, handling time zones, buffer times, and business hours. Stripe Connect enables each shop to accept payments directly — supporting full payment, percentage deposits, or fixed deposits. The onboarding flow gets a new shop from zero to a live booking page in minutes, with configurable branding, services, and team members. An Upstash Redis caching layer cuts database queries by 90%, and three cron jobs handle SMS reminders, waitlist expiry, and stale signup cleanup.