This listing is not live yet. It will be published on February 20, 2027.
MIT-licensed Next.js SaaS starter: self-contained auth (OAuth + email/password, no auth vendor), Stripe subscriptions, teams, Postgres/Drizzle, dark-first UI.
MailKite SaaS Starter is an open-source Next.js template for launching a SaaS product, bundling authentication, payments, team management, and a dashboard UI to skip common boilerplate. Authentication is self-contained within the app rather than relying on an external service: it supports email/password sign-in with PBKDF2 password hashing via WebCrypto, plus Google and GitHub OAuth, with JWT sessions signed using jose. Payments are handled through Stripe, covering Checkout, the Customer Portal, webhooks, and subscription lifecycle management.
The template uses PostgreSQL with Drizzle ORM for a type-safe schema, migrations, and seed scripts, and is built on Next.js 15 with the App Router. The UI is dark-first with animated backgrounds, gradient cards, a light/dark toggle, and a color theme picker, built with Tailwind CSS v4 and shadcn/ui. It includes team functionality for inviting members, managing permissions, and a shared workspace.
The only external service dependency is MailKite, used for sending transactional email such as welcome messages; it is optional, and the app skips the email without an API key rather than failing. The project deploys to Vercel, though the stack is described as deployable elsewhere, and requires environment variables including AUTH_SECRET, POSTGRES_URL, STRIPE_SECRET_KEY, and STRIPE_WEBHOOK_SECRET, with optional variables for enabling Google and GitHub OAuth and MailKite email. It is licensed under MIT.
Yes, it is MIT licensed and free to use for anything, with attribution appreciated.
It's built with Next.js 15 (App Router) and TypeScript.
No, authentication runs entirely in your own Next.js server and database with no external auth service required.
PostgreSQL, accessed via Drizzle ORM, and it can be hosted on Neon, Supabase, or any Postgres provider.
Payments use Stripe for Checkout, Customer Portal, and webhook-driven subscription lifecycle management.
SerpApi's Search API makes it easy and fast to scrape Google and other search engines.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers