finds.dev← search

// the find

hexclave/multi-tenant-starter-template

★ 289 · TypeScript · MIT · updated Dec 2025

A minimalistic multi-tenant Next.js starter template

A Next.js 14 app-router starter that wires up multi-tenant team switching via Stack Auth. It gives you a landing page, a per-team dashboard shell, and account settings out of the box — but explicitly hands off auth, data storage, and business logic to you. Aimed at developers who want the UI scaffolding without fighting the multi-tenancy plumbing from scratch.

Stack Auth integration handles the hard parts of multi-tenancy (team creation, member management, session scoping) so you don't have to roll it yourself. The [teamId] dynamic segment in the route tree is the right pattern — team context is in the URL, not hidden in a cookie or context provider. Shadcn UI components mean you're starting from something you can actually style rather than fighting a rigid component library. The 'bring your own backend' stance keeps the template honest about what it is instead of forcing an opinionated data layer on you.

Hard dependency on Stack Auth — if you want a different auth provider, you're ripping out the core of the template, not swapping a config value. The dashboard content is pure placeholder (a copied Shadcn example chart and fake recent-sales data), so there's less working code here than the screenshots imply. Next.js 14 is already a version behind with 15 stable, and the template hasn't been touched since December 2025, so you may hit compatibility friction immediately. No per-team data isolation pattern is demonstrated — the template shows team switching in the UI but gives you zero guidance on how to scope database queries or API calls to a tenant.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →