← all repositories
alan345/AI-Fullstack-SaaS-Boilerplate

A SaaS boilerplate that skips Next.js on purpose

Fastify, tRPC, and React 19 wired together for apps that don't need SEO.

1.4k stars TypeScript Other AI
AI-Fullstack-SaaS-Boilerplate
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

What it does This is a fullstack TypeScript starter for building SaaS web apps. The backend runs on Fastify with tRPC for end-to-end type safety, Drizzle ORM talking to Postgres, and Better Auth handling authentication. The frontend is React 19 with React Router v7, Tailwind v4, and Vite — deliberately not Next.js.

The interesting bit The author explicitly rejects the T3 stack’s Next.js choice so the frontend compiles to static files, trivially hostable on S3 or similar. It’s a bet on web apps over websites: you lose SEO, gain deployment simplicity. The AI angle is thin — an OpenAI-powered chat using Server-Sent Events instead of WebSockets, plus some Zelda API demo data.

Key highlights

  • tRPC over Fastify with Zod validation, fully typed from DB to UI
  • pnpm workspace monorepo with shared types
  • Playwright E2E tests (run against the live app)
  • Health check endpoints at /health.trpc and root
  • “Impersonate User” feature shown in screenshots
  • One production user listed: Nachonacho.com

Caveats

  • The “AI” branding is mostly the SSE chat; no agentic features are actually described
  • Demo hosted on Render free tier, so expect 50-second cold starts
  • README is vague on what makes this “agentic AI” beyond the OpenAI chat integration

Verdict Grab this if you want a clean, non-Next.js React stack with tRPC and care more about app architecture than content SEO. Skip it if you need server-side rendering, deep AI orchestration, or a battle-tested community — 1,400 stars and one named user suggest it’s still proving itself.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.