Open source · TypeScript

The foundation for your next B2B SaaS.

A production-minded, multi-tenant starter that handles the generic parts of B2B software—so you can start building what makes your product matter.

MIT licensedEnd-to-end type safeBuilt for real products
Product demo · 0:33

Everything before the product

The important parts, already handled.

Stop rebuilding authentication, tenancy, and admin tools. SaaS Foundation gives you a clear, extensible architecture for the work every B2B app needs.

/01

Admin & customer portals

Two purpose-built experiences with clear trust boundaries, ready for your team and your customers.

/02

Multi-tenant foundations

Organizations, memberships, invitations, roles, and permissions—all wired up from day one.

/03

A typed API layer

Consistent request validation, response serialization, and error handling across the entire app.

/04

Production-ready UI

Forms, feedback states, and flexible data tables built with accessible, composable primitives.

A modern TypeScript stack

Great tools.
One solid foundation.

Built with proven, well-supported tools that keep your application type-safe from database to interface.

01TypeScript
02Prisma
03Better Auth
04Next.js
05PostgreSQL
06ShadCN
07Zod
08TanStack Query
09React Hook Form

Build the part only you can build

Skip the boilerplate. Start with your product.

Explore on GitHub