A multi-tenant SaaS platform for multi-location service businesses, unifying bookings, in-person and online payments, staff operations, and notifications on Cloudflare's edge network.
A growing operator of multi-location service businesses needed to replace a patchwork of disconnected tools with a single, scalable platform to manage customer bookings, payments, and day-to-day staff operations across every branch.
Challenge
The client was juggling separate systems for scheduling, card payments, and staff coordination, each with its own login, data silo, and monthly cost. They needed a unified multi-tenant platform that could isolate each business's data securely, accept both in-person and online payments, equip on-site staff with a mobile tool, and scale instantly during peak booking and checkout periods.
Solution
We architected and built a serverless, multi-tenant platform:
- Next.js 16 Customer Web App: Deployed on Cloudflare Workers via OpenNext for sub-100ms global response times and zero server maintenance.
- Hono + tRPC Core API: A type-safe API layer on Cloudflare Workers, backed by multi-tenant Postgres (Drizzle ORM) with per-request tenant scoping.
- Auth0 Identity: Organization-aware authentication with role and permission claims for granular, per-tenant access control.
- Integrated Payments: Stripe-powered in-person card readers and online checkout, with a dedicated payment service.
- Staff Mobile App: A React Native (Expo) companion app giving on-site staff native hardware access, including card-reader support.
Results
The platform consolidated several legacy systems into one, processing high volumes of bookings and payments with 99.99% uptime. Running on Cloudflare's edge cut infrastructure hosting costs dramatically while delivering a fast, consistent experience for both customers and staff across all locations.