Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 SaaS Starter Kit — Launch Your Next SaaS in Minutes (Free & Open Source)

🧱 A modern, production-ready SaaS boilerplate that helps you go from idea → launch in days, not weeks.

Features

  • Full‑stack TypeScript with Next.js 15 App Router
  • Postgres + Prisma ORM
  • Auth (magic links, OAuth) via NextAuth.js
  • Stripe subscriptions (monthly + usage-based ready)
  • tRPC API layer, type-safe end to end
  • RBAC: users, teams, roles
  • Tailwind + minimal ShadCN‑style UI
  • Resend + React Email templates
  • Sentry integration
  • Docker + GitHub Actions + Fly.io/Render

Tech Stack

  • Frontend: Next.js 15, Tailwind
  • Backend: tRPC, Next.js Route Handlers
  • Database: Postgres + Prisma
  • Auth: NextAuth.js, Prisma Adapter
  • Billing: Stripe
  • Email: Resend + React Email
  • CI/CD: GitHub Actions, Docker

Local Development

  1. Copy env: cp .env.example .env
  2. Start Postgres locally or docker compose up -d db
  3. Install deps: npm i
  4. Generate Prisma: npx prisma generate
  5. Push schema: npx prisma db push (or npx prisma migrate dev)
  6. Dev server: npm run dev

You’ll have the app at http://localhost:3000.

Deployment

  • Vercel: vercel --prod (configure env vars)
  • Docker: docker compose up --build
  • Fly.io / Render: config provided (fly.toml, render.yaml)

Notes

  • Configure DATABASE_URL, NEXTAUTH_SECRET, Stripe keys, and Resend keys in .env.
  • GitHub Actions workflow builds, typechecks, lints.

License MIT — free for personal and commercial use.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages