SaaSkit is a Next.js boilerplate that gives you authentication, payments, database, RBAC, SEO, analytics, and more — ready to ship your SaaS or AI tool.
What is SaaSkit?
SaaSkit is a production-ready Next.js boilerplate for building and launching SaaS products and AI tools. It provides pre-built modules for authentication (BetterAuth with Google OAuth and email OTP), payments (Stripe, Polar, Creem, Dodo), database (Neon or Supabase with Drizzle ORM), storage (Cloudflare R2), admin dashboard with role-based access control, analytics (PostHog), logging and monitoring (BetterStack), email templates (Resend), SEO optimization, and documentation (Fumadocs). It runs on the Next.js App Router and is built by an independent developer.
Key Features
- Authentication — BetterAuth with Google OAuth and passwordless email OTP; includes session management, account linking, and public/protected page handling.
- Payments — Integrated with Stripe, Polar, Creem, and DodoPayments for subscriptions, one-time credit purchases, trials, and plan upgrades/downgrades with proration.
- Database — Works with Neon or Supabase using Drizzle ORM; includes schema and migrations.
- Storage — File uploads to Cloudflare R2 with simple API.
- Admin & RBAC — Built-in admin dashboard for user management, role-based access control, banning, and deletion.
- Security — API rate limiting to protect against abuse and traffic spikes.
- Analytics — PostHog integration for tracking user behavior and product usage.
- Logging & Monitoring — Real-time logging with BetterStack, plus alerts and status pages.
- Emails — Transactional email templates via Resend for OTP and notifications.
- SEO & Marketing — OpenGraph tags for social media, SEO optimization, and a high-converting landing page template.
- Documentation — Integrated docs page powered by Fumadocs.









