/multi-tenant-starter-template

A minimalistic multi-tenant Next.js starter template

Primary LanguageTypeScriptMIT LicenseMIT

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.

Demo

Landing Page

Teams

Dashboard

Teams

Multi-tenancy (Teams)

Teams

Account Settings

Teams

Getting Started

  1. Clone the repository

    git clone git@github.com:stack-auth/stack-template.git
  2. Install dependencies

    npm install
  3. 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.

  4. 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