// the find
mickasmt/next-saas-stripe-starter
Open-source SaaS Starter with User Roles & Admin Panel. Built using Next.js 14, Prisma, Neon, Auth.js v5, Resend, React Email, Shadcn/ui, Stripe, Server Actions.
A Next.js 14 SaaS starter that wires together the usual suspects: Stripe subscriptions, Auth.js v5, Prisma + Neon Postgres, Resend for email, and Shadcn/ui components. It gets you from zero to a working billing + auth skeleton faster than assembling it yourself. Aimed at solo devs or small teams launching a SaaS product who want the boilerplate done.
The Stripe webhook handler and subscription management are actually implemented, not stubbed — `actions/generate-user-stripe.ts` and the webhook route handle the real flow. User roles with admin panel separation (`app/(protected)/admin`) is built out, not just a placeholder route. The env validation via `env.mjs` (likely t3-env) catches misconfiguration at startup rather than at runtime. The MDX-based docs and blog via Contentlayer is a nice bonus — most SaaS starters skip the marketing content layer entirely.
Last pushed August 2024 and the roadmap items are still unchecked — this repo is stale, which is a real problem given Auth.js v5 was in beta and has had breaking changes since. Contentlayer itself is effectively unmaintained as of 2024, so the docs/blog layer will break on newer Next.js versions. There's no test coverage at all — not even a single test file visible in the tree, so you're shipping blind. The 'admin panel' is mostly a layout wrapper with chart demo components, not actual user management tooling.