A minimalistic multi-tenant Next.js starter template with temporary email functionality using Mailsac API. Features include user authentication, team management, and disposable email generation for testing and verification.
-
Clone the repository
git clone https://github.com/rowdy-raedon/multi-tenant-starter-template.git cd multi-tenant-starter-template -
Install dependencies
npm install
-
Set up your environment variables by copying the example file:
cp .env.local.example .env.local
-
Configure your services:
- Stack Auth: Register at Stack Auth and enable "client team creation"
- Supabase: Create a project at Supabase and run the schema from
supabase-schema.sql - Mailsac: Get an API key from Mailsac
-
Update
.env.localwith your actual API keys and credentials -
Start the development server:
npm run dev
-
Visit http://localhost:3000 to see your application
See SETUP_GUIDE.md for detailed configuration instructions including database setup and API key configuration.
- Next.js 14 app router
- TypeScript
- Tailwind & Shadcn UI
- Stack Auth (Authentication)
- Supabase (Database)
- Mailsac API (Temporary emails)
- Multi-tenancy (teams/orgs)
- Dark mode
- Temporary email service
- Real-time message retrieval
- Email management dashboard



