Proof, not promises
Every server function authorizes itself
This is shipped kit code, not pseudocode: composable middleware makes authentication, admin checks, and organization scoping the default on every server function.
export const updateOrganizationNameFunction = createServerFn({ method: 'POST' })
.middleware([errorMiddleware, authMiddleware])
.validator(UpdateOrganizationNameSchema)
.handler(async ({ data }) => {
const organizationId = await requireActiveOrganizationId();
const service = createUpdateOrganizationService();
await service.updateOrganization({
organizationId,
name: data.name,
});
});packages/organization · shipped in the kit (Drizzle variant). The full wiring is documented in Better Auth on TanStack Start.
TanStack Start or Next.js? An honest comparison
| MakerKit for TanStack Start | MakerKit for Next.js | |
|---|---|---|
| Routing | TanStack Router: typed routes, params, and search state | App Router: React Server Components and conventions |
| Server logic | createServerFn with composable auth middleware | Server Actions and Route Handlers |
| Build & deploy | Vite + Nitro: portable Node bundle, Railway config included, runs on any Node host | Next.js build: first-class on Vercel, adapters elsewhere |
| Framework maturity | Release Candidate: kit isolates the integration points | Stable, mature ecosystem |
| Data layer | Drizzle, Prisma, or Supabase | Supabase, Drizzle, or Prisma |
Same SaaS architecture on both frameworks. The full comparison lives in TanStack Start vs Next.js.
What ships in the box
apps/
web/ # the TanStack Start application
e2e/ # Playwright end-to-end tests
packages/
better-auth/ # Better Auth integration (Supabase variant: packages/supabase)
account/ # personal account: settings, profile, deletion
organization/ # team accounts, members, invitations
rbac/ policies/ # roles and permission boundaries
billing/ # Stripe billing and gateway
database/ # Drizzle schema (Prisma / Supabase in those variants)
function-middleware/ # auth, admin, and organization middleware
ui/ i18n/ mailers/ monitoring/ analytics/ ...Core flows tested end to end
A dedicated Playwright suite exercises the flows your business depends on:
auth/auth.spec.tsbilling/org-billing.spec.tsbilling/user-billing.spec.tsmembers/members.spec.tsinvitations/invitations.spec.tsadmin/impersonation.spec.tsroles/roles.spec.ts
TanStack Start 1.168 · React 19.2 · Vite 8 · Better Auth (Drizzle/Prisma variants) or Supabase Auth (Supabase variant) — verified July 2026. TanStack Start is currently a Release Candidate: the kit isolates framework integration points, so upstream changes stay contained as it moves to stable.

Ship a SaaS with the best SaaS starter kit for TanStack Start
The best SaaS Starter Kit built with TanStack Start, Better Auth, and Drizzle or Prisma
Skip months of setup and ship your SaaS faster than ever.Complete authentication, subscription management, and multi-tenancy on a full-stack React stack. Deploy anywhere with Vite and Nitro, with no framework lock-in.Built with TanStack Start, TanStack Router, and Better Auth. Choose Drizzle or Prisma as your database layer.
Authentication
Billing and Subscriptions
Customer Portal
Multi Tenancy
Super Admin
Shadcn UI and Tailwind CSS
Dark Theme
Blog
Documentation/Help Center
Mobile Friendly
Serverful/Serverless Stack
Top-notch code quality
E2E Testing with Playwright
Beautiful emails with React.Email
Mailers
Plugins
Maximum Customization
Rich Documentation
SEO-Ready
No Vendor Lock-in
AI Agents
MCP Server
Extensive Course
Realtime Notifications (Supabase)
Internationalization
Figma UI Kit
Support
Community
Content
Daily Updates
Long-Term Vision
Here to stay
Dedicated rules for AI Agents and IDEs
Integrates seamlessly with AI Agents and IDEs like Claude Code, Codex, Gemini, and Cursor
Makerkit's codebases make development faster with custom rules and an MCP Server that help AI Agents and editors write code faster.

Production Ready TanStack Start SaaS Starter KitAll the tools and resources you need to launch your SaaS in days.
AuthenticationFull authentication flow, including password, magic link and social logins.

Multi-TenancyOrganizations, invitations, RBAC. All figured out for you.

BillingSubscriptions with Stripe, including per-seat and metered billing.
Admin PanelManage your users, organizations, and build your own internal tooling within the app.

Delightful UIEvery pixel crafted with care to make your SaaS look and feel amazing.

MarketingGet found by your target audience with blog, documentation, changelog, and more.

Monitoring and TestingComprehensive monitoring and testing tools to help you keep your SaaS running smoothly.

Support and Community As a member of our community, you'll have access to support from me as well as the entire Makerkit community.
Focus on your product, not infrastructure
Skip months of setup with TanStack Start and Better Auth
See how much time you save by starting with a production-ready foundation instead of building everything from scratch.
| Component | Build Yourself | With MakerKit |
|---|---|---|
| Authentication (email, OAuth, MFA) | 2-4 weeks | Pre-built |
| Stripe subscription billing | 2-3 weeks | Pre-built |
| Multi-tenant organizations | 3-4 weeks | Pre-built |
| Role-based access control | 1-2 weeks | Pre-built |
| Super admin dashboard | 2-3 weeks | Pre-built |
| Team invitations & management | 1-2 weeks | Pre-built |
| Transactional emails | 1 week | Pre-built |
| Blog & documentation CMS | 1-2 weeks | Pre-built |
| Dark mode & theming | 3-5 days | Pre-built |
| Responsive UI components | 2-3 weeks | Pre-built |
| Next.js/React version upgrades | Ongoing (2-4 weeks/year) | Included |
| Security patches & fixes | Ongoing (unpredictable) | Included |
| Dependency updates | Ongoing (1-2 weeks/year) | Included |
| New features & best practices | Your time to research & implement | Included |
Build from scratch
2-4 months (typical)
80-150 hours of development
With MakerKit
Day 1
Start building features immediately
Estimated savings
$12,000 - $22,500 (estimated)
In developer time and opportunity cost
What makes MakerKit different
The TanStack Start SaaS Starter Kit built for production
MakerKit provides a battle-tested foundation so you can focus on what makes your product unique.
Production-Ready
Battle-tested by hundreds of SaaS products in production. Not a weekend project, but a real business since 2022.
AI-Agent Optimized
Custom rules for Claude Code, Cursor, and Codex. MCP server included for enhanced AI assistance.
No Vendor Lock-in
Modular architecture lets you swap auth providers, databases, and payment processors without rewriting your app.
Lifetime Updates
One purchase includes all future updates. Daily improvements, security patches, and new features at no extra cost.
Expert Support
Direct support from the creator in Discord. Not outsourced support, but help from someone who knows the code.
Rich Documentation
400+ pages of documentation covering every feature. Tutorials, guides, and API references included.
How MakerKit Compares
Ship your SaaS in a week, not months.
- Lifetime access to your stack of choice
- Build unlimited applications
- Continuous updates
- Access to the Discord community
- The best support in the SaaS Starter kits market, period.
- Community and Chat support
- Community-based feature requests and Request for Comments. You have a say in what Makerkit should build next.
- One-time payment, no subscriptions
- Includes access to our free Figma UI kit
Choose your Stack
Select the technology stack that best fits your project
Do you need any clarifications?
Check out the FAQ for more information about Makerkit, or contact me.
Some of the projects built with Makerkit
Below are some of the SaaS projects that have been built with our SaaS Starter kits.

I help founders launch faster - because life’s too short to write boilerplate code.
I am a software engineer with almost 15 years of experience writing code for both startups and enterprises.
My love for creating digital products inspired me to build Makerkit, a SaaS Starter Kit that helps you launch the SaaS you have always dreamed of.
My job is to help you achieve your goals, and I work hard to make it happen.
You can find me on Twitter, LinkedIn, and GitHub.



























