React Starter Kit

kriasoft/react-starter-kit ↗ ·★ 23.7k ·TypeScript ·MIT

A full-stack SaaS starter monorepo with React 19, tRPC, Hono, Stripe, Drizzle, Neon and multiple Cloudflare Workers.

React Starter Kit screenshot
Stars
★ 23.7k
Language
TypeScript
License
MIT
Deploy targets
2

Overview

React Starter Kit is a high-star SaaS template for teams that want a full-stack TypeScript architecture instead of a single frontend scaffold. The monorepo contains an Astro marketing site, a React 19 application, a Hono + tRPC API worker, React Email templates, shared packages and database tooling. The edge deployment target is Cloudflare Workers, with separate web, app and API workers connected by service bindings.

The stack is opinionated in a useful way. Better Auth handles modern authentication flows, Stripe provides subscriptions, Drizzle ORM maps the data layer, and Neon supplies serverless Postgres. That combination gives you a realistic SaaS foundation with database, auth, billing and routing decisions already made, while still leaving room to replace pieces as the product grows.

It is not the smallest starter in the list, but it is one of the more complete. You should expect to configure environment variables, database URLs, OAuth providers and Workers secrets before production. For teams that want those patterns up front, it is a strong reference for building a Cloudflare-deployed React product on free-tier-friendly services.

Highlights

  • Full-stack TypeScript SaaS monorepo with React 19, tRPC, Hono and Cloudflare Workers
  • Auth and billing patterns included with Better Auth and Stripe subscriptions
  • Drizzle ORM and Neon PostgreSQL for a type-safe database layer
  • Separate web, app and API workers connected with Cloudflare service bindings

Best for

  • Teams starting a SaaS with React and edge-deployed backend services
  • Developers who want a Cloudflare Workers reference architecture
  • Projects that need auth, billing and database conventions from day one

Getting started

  1. 1 Generate a new repository from the GitHub template
  2. 2 Install dependencies with Bun and copy .env to .env.local
  3. 3 Configure DATABASE_URL and the required production secrets
  4. 4 Build and deploy the web, app and API workers with the documented Bun commands
#react#saas#workers#hono#neon#starter

FAQ

Is this just a React frontend template?

No. It is a full-stack monorepo with an Astro marketing site, React app, Hono/tRPC API worker, email templates, shared packages and database tooling.

Which database does it expect?

The README describes Drizzle ORM with Neon PostgreSQL. That pairs well with Neon's free tier while the app and API deploy to Cloudflare Workers.

Does it include payments?

Yes. The stack includes Stripe subscription wiring alongside Better Auth, with production secrets documented for Workers deployment.

Deploy React Starter Kit for free

Free-tier platforms that can host this project. Pick one and ship it.