software · Q400
Next.js SaaS Starter
MIT-licensed learning starter combining Next.js, PostgreSQL, Drizzle, Stripe and shadcn/ui for a subscription application.
Overview
Next.js SaaS Starter is an open-source template that combines authentication, subscription billing and a logged-in dashboard with Next.js, PostgreSQL, Drizzle and shadcn/ui. The repository describes it as intentionally minimal and a learning resource. It can give a vibecoder a concrete application skeleton to extend, but its example defaults and dependency choices need review before becoming production requirements.[1][3]
An intentionally small application foundation
The repository gives developers an example subscription application to clone and modify rather than a hosted app-building service. Its documented setup includes database preparation and a seeded demonstration account and team. Those seed values are development examples, not a production account plan. The README's description as a learning resource is important: available pages and successful local startup do not establish that every operational feature needed by a real service has been built.[1]
Teams, membership and application records
The inspected Drizzle schema separates users, teams, team membership, invitations and activity logs. Stripe customer and subscription identifiers are attached to teams. That is a concrete starting data model for a team-based subscription product, but it is not a universal tenant model: an application's intended ownership, membership and deletion behavior must be fitted to these records. A different starter's user table cannot be assumed to import unchanged merely because both use PostgreSQL.[6]
What the authentication example actually does
The session implementation uses bcrypt helpers for passwords and signs a JWT with HS256. It stores the result in a Secure, HttpOnly, SameSite=Lax cookie with a one-day expiry. Although a local variable calls it an encrypted session, the inspected operation is JWT signing; the source does not establish payload encryption. Separate action wrappers perform input-schema validation and authenticated-user or team lookup. These are implementation patterns, not a comprehensive security audit or proof of authorization for every future action.[4][5]
Subscription defaults and webhook scope
The Stripe helper creates subscription-mode checkout with card payment and an example fourteen-day trial. Its customer-portal setup includes subscription changes and cancellation at the period end when creating a new portal configuration. These are starter behaviors to review, not requirements for the product built on top. The inspected webhook verifies Stripe's signature and handles subscription-updated and subscription-deleted events; other events fall through to logging. An application's complete payment lifecycle must be evaluated against that actual handler instead of assuming a generic Stripe-integration label covers every event.[7][8]
Version and maintenance decisions
The inspected main-branch manifest pins Next.js 15.6.0-canary.59 and React 19.1.0. That is a specific dependency snapshot, not evidence that the starter follows the current stable framework release. Its listed scripts cover development, builds and database tasks; no automated test command appears in that manifest. This observation does not prove that every possible external test is absent, but it means a ready regression suite should not be inferred from the package scripts. Dependency and test strategy remain adoption work.[3]
Deployment and external services
The README's production path requires a production database connection, application URL, authentication secret and Stripe configuration including a production webhook. It presents Vercel as the deployment route. The MIT repository license grants code permissions subject to its notices, but does not supply infrastructure or payment-service entitlements. No deployment, account creation or transaction was performed for this article.[1][2]
Substitution considerations
This starter can substitute for Open SaaS as the initial codebase for a subscription application when Next.js and Drizzle are the desired stack. Open SaaS instead uses Wasp with React, Node.js and Prisma. The overlap concerns starting with account, billing and dashboard patterns; it does not establish parity in all bundled features or a lossless migration between codebases. An existing product would need deliberate adaptation of routes, data models, authentication and billing behavior.[1][6][9]
Capabilities & limitations
Subscription app skeleton
supportedProvides sign-in, a dashboard and Stripe integration as an intentionally minimal template.[1]
Bootstrapping a code-owned subscription application · Next.js development environment, Web applications · Version, build and integration requirements apply
1 source · check evidence
Features, setup, production configuration and minimal learning-resource scope
vendor · checked 2026-10-07Team data model
supportedDrizzle schema includes users, memberships, invitations, activity records and team-level Stripe identifiers.[6]
Bootstrapping a code-owned subscription application · Next.js development environment, Web applications · Version, build and integration requirements apply
1 source · check evidence
Users, teams, membership, invitations, activity and Stripe identifiers
vendor · checked 2026-10-07Complete billing lifecycle coverage
unknownInspected webhook route handles selected subscription events; complete application-specific billing behavior is not established.[7][8]
Bootstrapping a code-owned subscription application · Next.js development environment, Web applications · Version, build and integration requirements apply
2 sources · check evidence
Signature verification and subscription updated/deleted event cases
vendor · checked 2026-10-07Subscription checkout, trial defaults, customer portal and selected status handling
vendor · checked 2026-10-07Stable-only dependency baseline
unsupportedThe inspected main-branch manifest pins a Next.js canary release rather than a stable-only framework baseline.[3]
Bootstrapping a code-owned subscription application · Next.js development environment, Web applications · Version, build and integration requirements apply
1 source · check evidence
Next 15.6.0-canary.59, React 19.1 and scripts/dependencies
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Open SaaS for Bootstrapping a code-owned subscription application
limitedAlternative starter for accounts, subscription checkout and dashboards when a Next.js/Drizzle application is preferred to Wasp/Prisma. Template source and schemas require adaptation.[1][6][9]
Next.js development environment, Web applications · Version, build and integration requirements apply
References
- Next.js SaaS Starter README
Features, setup, production configuration and minimal learning-resource scope
vendor · retrieved 2026-10-07 - Next.js SaaS Starter license
MIT terms
vendor · retrieved 2026-10-07 - Next.js SaaS Starter package manifest
Next 15.6.0-canary.59, React 19.1 and scripts/dependencies
vendor · retrieved 2026-10-07 - Starter authentication session implementation
bcrypt password helpers; HS256 signed JWT and secure HttpOnly cookie
vendor · retrieved 2026-10-07 - Starter action wrappers
Input-schema validation, authenticated-user and team wrappers
vendor · retrieved 2026-10-07 - Starter database schema
Users, teams, membership, invitations, activity and Stripe identifiers
vendor · retrieved 2026-10-07 - Starter Stripe integration
Subscription checkout, trial defaults, customer portal and selected status handling
vendor · retrieved 2026-10-07 - Starter Stripe webhook route
Signature verification and subscription updated/deleted event cases
vendor · retrieved 2026-10-07 - Open SaaS introduction
Wasp/React/Node/Prisma starter scope
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 386 | 2026-10-11 20:40:40 | /* wbeditentity-create-item:0| */ sf:74d4818c-6dfc-43d4-8f4a-87d6657a2afe:v1 | Add Next.js SaaS Starter with learning-resource scope, canary framework dependency, signed-cookie sessions and concrete Stripe/webhook boundaries. | attribution: /proposals/74d4818c-6dfc-43d4-8f4a-87d6657a2afe |