GenerateSaaS

GenerateSaaS Documentation

SaaS boilerplate for Next.js and Nuxt on one typed Hono backend. Auth, billing, multi-tenancy, email, and AI ship flag-gated behind a single config object.

GenerateSaaS is a production-ready SaaS boilerplate available for Next.js 16 and Nuxt 4, both running on the same typed Hono backend. Every capability - from authentication to billing to multi-tenancy - ships as an independent package behind a single config flag, so you enable what you need and deploy in minutes. Choose your framework to get started:

What's included

Both frameworks document the same feature set - each one optional and flag-gated:

  • Authentication: email/password, social OAuth, 2FA, and passkeys via Better Auth.
  • Payments & billing: Stripe or Polar subscriptions, prepaid credits, and metered usage.
  • Multi-tenancy: organizations, teams, and per-tenant data isolation.
  • Email & SMS: transactional and marketing email plus Twilio messaging.
  • Storage & uploads: S3-compatible file storage.
  • Notifications & audit logs: in-app and email channels with a full activity trail.
  • AI: LLM-powered features through a typed AI package.
  • Content & marketing: an MDX blog, SEO tooling, waitlists, and onboarding flows.
  • Platform: a typed Hono RPC API, Redis caching, Inngest background jobs, and i18n.

See every feature with its config flag and setup: the complete catalog for Next.js or Nuxt.

One config, both frameworks

The config object is the single source of truth, read by the frontend and the backend alike: flip a flag and the routes, UI, and API surface for that feature appear or disappear together. No dead code to delete, no setup for what you don't use.

Start with Next.js or Nuxt and follow the quick-start to ship your SaaS.