End-to-end monorepo — TanStack Start, Drizzle + Postgres, Stripe, Better Auth, shadcn/ui & Tailwind v4, SEO.
Own the boilerplate behind YourNextSaaS: stack, billing, and multi-tenancy included.
Ship multi-tenant B2B SaaS faster with TanStack Start, Stripe, Better Auth—and built-in SEO: canonical URLs, Open Graph, JSON-LD, sitemap, and robots.
Analytics
Charts, limits, and recent activity
Detailed analytics, plan limits, and recent events for your workspace scope. Open Overview for KPIs at a glance.
Analytics
Analytics overview
Events (7d)
Recent events
Your scope · 5 rows
- Subscription activatedWorkspaceorg-demo-1Stripe subscriptionsub_01HZZZZPlanprice_pro
- Workspace createdWorkspaceorg-demo-1Workspace slugacme-production
- Account createdSourceinvite
- webhook.pingWorkspaceorg-demo-2
- Subscription activatedWorkspaceorg-demo-2Stripe priceprice_team
Subscriptions
Members / workspace
API keys
Usage vs plan limits
Recent activity
5 eventsTech stack
Production defaults, not science experiments
The same core you get in the repo: typed routes, server actions, Stripe webhooks, and Postgres migrations you can run in CI.
In focus
TanStack Start
App shell & SSR
Social proof
Teams ship faster with a shared foundation
Replace these labels with real customer logos or quotes as you collect them—structure is ready for a credibility strip.
- Acme
- Northwind
- Contoso
- Globex
- Initech
Compare
Boilerplate vs. building from scratch
| Capability | This starter | From scratch |
|---|---|---|
| Multi-tenant org & billing model | Included | Weeks of design + edge cases |
| Stripe webhooks & subscription sync | Wired & tested patterns | Custom handlers + idempotency |
| Auth, sessions, email flows | Better Auth defaults | Roll your own or stitch providers |
| SEO: OG, JSON-LD, sitemap | Ships on the marketing surface | Reinvent per deploy |
| Operator / admin views | Platform console patterns | Rarely prioritized early |
Platform
Everything you expect from a modern B2B stack
Same tokens, components, and motion language as your signed-in experience — so marketing and product feel like one product.
Tenancy
Organizations & roles
Users belong to workspaces with owner, admin, and member roles — ready for real team workflows.
Revenue
Stripe subscriptions
Checkout, webhooks, and subscription state synced to your database — configure prices and go.
Access
API keys & server actions
Issue keys, guard routes, and keep domain logic on the server where it belongs.
Insight
Analytics-ready events
Structured event logging so you can chart analytics and usage, and ship operator dashboards with confidence.
Trust
Security-minded defaults
Session handling and tenant-scoped data patterns designed for products that scale past the demo.
Discoverability
SEO that ships with the boilerplate
Per-route titles and descriptions, canonical URLs, robots tuned for public vs app areas, Open Graph and Twitter cards, JSON-LD for WebSite, Organization, SoftwareApplication, FAQ, and breadcrumbs—plus a live sitemap. Set VITE_SITE_URL and optional verification or social handles; full checklist lives in apps/docs/src/content/docs/operations/seo.md.
Built for teams that outgrow the starter kit
TanStack Start, Drizzle, and shadcn/ui — typed end-to-end so you can extend the boilerplate without fighting the architecture.
Under the hood
The unglamorous stuff your customers still expect
Webhooks with signatures, an org-scoped audit trail, team invites, and a platform view for operators — patterns that ship in the app today, not on a backlog slide.
X-YNS-Event: workspace.updated
X-YNS-Delivery: del_8k2m9q1
Inbox preview
You have been invited to Acme Corp
Accept on a secure link with /invite/<token>. Roles: owner, admin, or member.
Platform admins open the same shell as tenants and get cross-workspace KPIs, catalog-based MRR signals, and the telemetry you already emit.
Active orgs
128
Est. MRR
$48k
Failed hooks
0.1%
Guided onboarding inside the app
A checklist route walks new workspaces through the basics so your trial-to-activated curve is not left to documentation alone.
- Create workspace
- Connect billing
- Issue first API key
Lifetime license
One payment. Every pattern in the box.
You pay once, then get the full monorepo through a private GitHub repository—updates ship the same way. No mystery attachments: checkout, connect GitHub, accept the invite, clone.
Lifetime access
$299
One-time payment · taxes at checkout if applicable
Own the source outright: multi-tenancy, billing, admin tooling, and SEO-ready marketing—everything we dogfood in the product tour above.
How you’ll receive the source
We deliver access like a real product team: Stripe confirms payment, automation invites your GitHub user to a private repo, and you pull updates with git—not a one-off file dump.
Step 01
Pay once & open the app
Complete secure checkout (Stripe). Your purchase is tied to your workspace in the product app.
Step 02
Link the GitHub account you want on the repo
Connect GitHub in settings so we know exactly which username should receive collaborator access.
Step 03
Accept the invite on GitHub
You’ll get a standard GitHub collaborator invitation (email + in-app notification). Accept it once.
Step 04
Clone, fork, ship
The private repo is yours to clone or fork. Lifetime access includes boilerplate updates we push for customers.
Lifetime license includes access to future boilerplate updates—features, fixes, and version bumps—as we ship them to customers. Changelog and release notes keep you current.
Everything included
- Full monorepo source — fork, rebrand, and ship your SaaS
- Multi-tenant workspaces, org roles, and email invitations
- Better Auth — email sign-in, sessions, and hardened defaults
- Stripe subscriptions, Customer Portal, and verified billing webhooks
- Drizzle ORM + Postgres — typed schema and migrations you can run in CI
- Platform admin console — cross-workspace KPIs and operator views
- Signed webhooks — payload verification and delivery logging
- Organization-scoped audit trail
- API key lifecycle per workspace — issue, rotate, and revoke
- Product analytics — 7-day usage signals for trials and activation
- Onboarding checklist route inside the app
- shadcn/ui + Tailwind CSS v4 — components, themes, accessible primitives
- SEO toolkit — canonical URLs, dynamic sitemap, robots split for public vs app
- JSON-LD — FAQPage, breadcrumbs, WebSite, Organization, SoftwareApplication
- Open Graph & Twitter cards for rich link previews
- Search-friendly structure — ready for Search Console verification
- Commercial use for products and clients you build on this codebase
At a glance
What lifetime access covers vs. assembling it yourself
Every row is production-shaped code and docs you would otherwise spec, build, and maintain yourself.
| Topic | Lifetime license | DIY / ad hoc |
|---|---|---|
| Monorepo layout & env conventions | Opinionated workspace + examples | Greenfield structure each time |
| Tenant isolation & org roles | Drizzle models + guards | Custom ACL + migration pain |
| Stripe + Customer Portal | Checkout, webhooks, sync | Dashboard + webhook hardening |
| Marketing SEO surface | Canonical, OG, JSON-LD, sitemap | Third-party plugins or hand-rolled |
| Updates & changelog | Boilerplate releases for customers | You own every upgrade path |
FAQ
Search, social, and structured data—answered
Same questions power FAQPage JSON-LD on the home route when VITE_SITE_URL is set—keep copy in sync via src/lib/landing-faq.ts.
Flow
From zero to first workspace in minutes
Authenticate
Email sign-up and sessions powered by Better Auth — same flow your app already uses.
Create a workspace
Spin up an organization, invite teammates, and keep data scoped per tenant.
Subscribe when ready
Connect Stripe prices and let billing follow the workspace, not the user account.
Ready to build on a foundation that matches your roadmap?
Clone the boilerplate, ship your differentiator, and keep ops, billing, and access control on rails.