A minimalistic multi-tenant Next.js starter template with minimal setup and a modular design. Bring your own backend and database.
-
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.local
file. 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
- Next.js 14 app router
- TypeScript
- Tailwind & Shadcn UI
- Stack Auth
- Multi-tenancy (teams/orgs)
- Dark mode