B2B Multi-Tenant Starter Kit
Description
A minimalistic B2B Next.js starter template that includes a landing page, a dashboard, authentication, multi-tenancy, and account settings.
npx boilerapp b2-b-multi-tenant-starter-kit文档
Next.js Multi-tenant Starter Template
A minimalistic multi-tenant Next.js starter template with minimal setup and a modular design. Bring your own backend and database.
Landing Page
<div align="center"> <img src="./assets/landing-page.png" alt="Teams" width="600"/> </div>Dashboard
<div align="center"> <img src="./assets/dashboard-overview.png" alt="Teams" width="600"/> </div>Multi-tenancy (Teams)
<div align="center"> <img src="./assets/team-switcher.png" alt="Teams" width="400"/> </div>Account Settings
<div align="center"> <img src="./assets/account-settings.png" alt="Teams" width="500"/> </div>Getting Started
-
Clone the repository
git clone git@github.com:stack-auth/stack-template.git -
Install dependencies
npm install -
Register an account on Stack Auth, copy the keys from the dashboard, and paste them into the
.env.localfile. Then, enable "client team creation" on the team settings tab.If you want to learn more about Stack Auth or self-host it, check out the Docs and GitHub.
-
Start the development server and go to http://localhost:3000
npm run dev
Features & Tech Stack
- Next.js 14 app router
- TypeScript
- Tailwind & Shadcn UI
- Stack Auth
- Multi-tenancy (teams/orgs)
- Dark mode
Inspired by
Prix
Gratuit