ScaffoldHub / Templates / Restaurant and delivery
Restaurant and delivery SaaS template
Multi tenant · React + Hono + Prisma · TypeScript
A multi-tenant restaurant delivery SaaS, generated from a visual model. Each restaurant is an isolated workspace with its own menus, orders, and drivers. Customers order, drivers deliver, owners review.
Multi-tenancy isn't a hand-coded layer here — it's a property of the model. Flip it, regenerate, and ScaffoldHub adds organization isolation, member roles, and invitations across the entire codebase.
Entities in this template
- Restaurant
- Menu item
- Delivery order
- Delivery driver
- Review
Each entity gets a generated form, list view, filter, CSV import and export, and audit logging — wired automatically from the model. Add a field on the canvas, regenerate, and every layer (Prisma migration, Hono route, React form, list, validation, test) updates together.
What ships with the template
- Multi-tenant: each restaurant has its own data
- Menu CRUD with categories and pricing
- Order workflow (placed → preparing → out → delivered)
- Driver assignment and status tracking
- Customer reviews per restaurant
- Stripe-ready billing for restaurant subscriptions
Common use cases
- Multi-restaurant marketplace
- Single-brand ghost kitchen network
- Catering business with delivery
- B2B office lunch platform
Stack
- Frontend: React 19 + TanStack Router + shadcn/ui + Tailwind CSS v4
- Backend: Hono + TypeScript with Prisma 7 and PostgreSQL
- Auth: Better Auth (email + Google OAuth + sessions)
- Billing: Stripe (hosted checkout, webhooks, customer portal)
- Mobile: Expo / React Native scaffold with push notifications
- AI assistants: AGENTS.md, docs/ folder, and built-in MCP server
Frequently asked questions
How does multi-tenant work in this template?
Each restaurant is an organization. Members belong to one or more organizations. Data is isolated by organization at the row level (PostgreSQL RLS) and at the API layer.
Can drivers see across restaurants?
In the default model, drivers belong to one restaurant. Modify the model to scope drivers globally or to multiple organizations, then regenerate.
Does it integrate with delivery providers (DoorDash, Uber Eats)?
Third-party delivery isn't generated. You'd add it as a custom integration on top of the order workflow.
