# gmpetrov/ultimate-saas-ts

Template to quickstart a SAAS business

Repository: https://github.com/gmpetrov/ultimate-saas-ts
Canonical: https://ross.abutalabs.com/products/ultimate-saas-ts
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2022-11-21T17:24:20+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1811, "days_push": 1381, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1280, forks 132 (observed 2026-08-28T04:04:13.649152+00:00)

## What it is
A TypeScript starter template for quickly bootstrapping a SaaS product, built on Next.js with NextAuth.js authentication, Prisma ORM, PostgreSQL, Stripe checkout and billing, and TailwindCSS. It ships as a deployable application skeleton (with a Vercel demo) meant to be forked and customized rather than used as a library.

## Use cases
- quickstart a saas app with auth and payments
- add stripe subscription billing to a nextjs app
- boilerplate for nextjs with prisma and postgresql
- set up magic link and github oauth login for a web app
- starting a subscription-based web product from a template

## When to choose
- you want to launch a new SaaS MVP without rebuilding auth and Stripe billing from scratch
- your stack is Next.js + TypeScript + Prisma + PostgreSQL
- you want to own your auth data with NextAuth.js instead of a hosted auth service
- you plan to deploy on Vercel and need webhooks for syncing Stripe products and prices

## When to avoid
- you use a different stack than Next.js/TypeScript (e.g. Rails, Laravel, Go)
- you need complex enterprise billing, multi-tenant invoicing, or tax handling beyond basic Stripe checkout
- you need a template actively updated against the latest Next.js, NextAuth, or Stripe API versions
- you only need a single isolated component (e.g. just an auth library) rather than a full application skeleton

## Facets
- artifact type: application
- maturity: maintenance
- function: auth, orm, database, boilerplate
- domain: web-development, frontend, backend
- platform: serverless
- tags: saas, starter-template, typescript, nextjs, nextauth, stripe, payments, subscription-billing, tailwindcss, postgresql, prisma, vercel, nodejs, web-server, docker

## Member repositories
- gmpetrov/ultimate-saas-ts (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.649152+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:02:37.216208+00:00, confidence not recorded.
  - readme: https://github.com/gmpetrov/ultimate-saas-ts (fetched 2026-08-28T04:04:13.649152+00:00, sha 9d7549d739bd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
