Overview
The Next.js Multi-tenant Starter Template is a minimalistic multi-tenant Next.js starter template designed with minimal setup and a modular design. Users can utilize their own backend and database with this template, making it customizable to suit different project needs.
Features
- Demo: Includes a landing page and dashboard for users to preview.
- Multi-tenancy (Teams): Supports handling multiple teams within the application.
- Account Settings: Allows users to manage and customize their account settings.
- TypeScript: Utilizes TypeScript for static type-checking and improved developer experience.
- Tailwind & Shadcn UI: Integrated with Tailwind CSS and Shadcn UI for responsive and customizable styling.
- Stack Auth Integration: Incorporates Stack Auth for authentication and security features.
- Dark Mode: Provides a dark mode option for users for enhanced user experience.
Installation
- Clone the repository:
git clone <repository_url>
- Install dependencies:
npm install
- Register on Stack Auth:
- Register an account on Stack Auth
- Copy the keys from the dashboard
- Paste the keys into the .env.local file
- Enable “client team creation” on the team settings tab.
- Start the development server:
npm run dev
- Access the application: Open a web browser and go to http://localhost:3000
Summary
The Next.js Multi-tenant Starter Template offers a seamless way to kickstart a multi-tenant application using Next.js with minimal configuration. With features like multi-tenancy support, TypeScript integration, and a sleek UI design powered by Tailwind CSS and Shadcn UI, developers can quickly set up and customize their projects. Additionally, the integration of Stack Auth for authentication and security enhances the template’s robustness, making it a convenient choice for developers looking to build multi-tenant applications.