TopGit tracks kriasoft/react-starter-kit on GitHub as part of the Frontend family. The project has 23.7k stars. Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
A full-stack monorepo template for building SaaS applications with React 19, tRPC, and Cloudflare Workers. Type-safe from database to UI, deployable to the edge in minutes.
Highlights
Type-safe full stack – TypeScript, tRPC, and Drizzle ORM create a single type contract from database to UI
Edge-native – Three Cloudflare Workers (web, app, api) connected via service bindings
Auth + billing included – Better Auth with email OTP, passkey, Google OAuth, organizations, and Stripe subscriptions
├── apps/
│ ├── web/ Astro marketing site (edge router, serves static + proxies to app/api)
│ ├── app/ React 19 SPA (TanStack Router, Jotai, Tailwind CSS v4)
│ ├── api/ Hono + tRPC API server (Better Auth, Cloudflare Workers)
│ └── email/ React Email templates
├── packages/
│ ├── ui/ shadcn/ui components (new-york style)
│ ├── core/ Shared types and utilities
│ └── ws-protocol/ WebSocket protocol with type-safe messaging
├── db/ Drizzle ORM schemas, migrations, and seed data
├── infra/ Terraform (Hyperdrive connection pools, R2 storage)
├── docs/ VitePress documentation
└── scripts/ Build automation and dev tools
Each app deploys independently to Cloudflare Workers. The web worker routes /api/* to the API worker and app routes to the app worker via service bindings.
Generate a new repository from this template, then clone it locally:
git clone https://github.com/your-username/your-project-name.git
cd your-project-name
2. Install Dependencies
bun install
3. Configure Environment
This project follows Vite env conventions:
.env is committed and contains shared defaults/placeholders only (no real secrets)
.env.local is git-ignored and should contain your real credentials
.env.local values override .env
cp .env .env.local # then replace placeholder values with real ones
Also check wrangler.jsonc for Worker configuration and bindings.
4. Start Development
# Launch all apps in development mode (web, api, and app)
bun dev
# Or, start specific apps individually
bun web:dev # Marketing site
bun app:dev # Main application
bun api:dev # API server
5. Initialize Database
Ensure DATABASE_URL is configured in your .env.local file, then set up the schema:
bun db:push # Push schema directly (quick dev setup)
bun db:seed # Seed with sample data (optional)
bun db:studio # Open database GUI
db:push is for local prototyping only. Staging and production apply migrations instead: bun db:migrate:staging, bun db:migrate:production.
App
URL
React app
http://localhost:5173
Marketing site
http://localhost:4321
API server
http://localhost:8787
Keep Your Project Updated
When you want to bring in newer React Starter Kit changes, ask your coding agent to run the merge-seed skill (/merge-seed in Claude Code or $merge-seed in Codex). It merges upstream changes while preserving your project's identity and configuration. Start with a clean working tree; the Quick Start guide explains the workflow and its safety boundary.
Production Deployment
The short version. The deployment guide covers each step in full.
1. Provision Infrastructure
Terraform creates the Hyperdrive configurations the API worker connects through:
bun infra:production apply
Paste the two IDs it prints into the hyperdrive block of apps/api/wrangler.jsonc.
2. Environment Setup
Configure your production secrets in Cloudflare Workers:
# Required – the API refuses to deploy without these
bun wrangler secret put BETTER_AUTH_SECRET --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put RESEND_API_KEY --config apps/api/wrangler.jsonc --env=""
# Google sign-in (optional – email OTP and passkeys work without it)
bun wrangler secret put GOOGLE_CLIENT_ID --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put GOOGLE_CLIENT_SECRET --config apps/api/wrangler.jsonc --env=""
# Stripe billing (optional – set all four to enable, or none; annual is extra)
bun wrangler secret put STRIPE_SECRET_KEY --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put STRIPE_WEBHOOK_SECRET --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put STRIPE_STARTER_PRICE_ID --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put STRIPE_PRO_PRICE_ID --config apps/api/wrangler.jsonc --env=""
bun wrangler secret put STRIPE_PRO_ANNUAL_PRICE_ID --config apps/api/wrangler.jsonc --env="" # optional
All of these belong to the API worker, which is what --config selects – without it Wrangler has no worker to attach the secret to. Use --env staging for staging; production is the top-level config, selected explicitly with --env="". Non-sensitive vars like RESEND_EMAIL_FROM go in wrangler.jsonc directly.
Set RESEND_EMAIL_FROM to an address on a domain you have verified with Resend. The default [email protected] only delivers to your own inbox, and sign-in is email OTP – leave it and no one else can sign in.
3. Migrate the Production Database
bun db:migrate:production # reads .env.production.local, and only that file
4. Build and Deploy
# Builds, then deploys api -> app -> web (service-binding targets first)
bun deploy:staging
bun deploy:production
CI runs the same script, so a release from your machine and one from GitHub Actions cannot drift.
Backers
Contributors
Need Help?
Documentation covers auth, database, billing, deployment, and more.
Our AI assistant is trained on this codebase – ask it anything on ChatGPT or Gemini. Try these questions:
How do I add a new tRPC endpoint?
Help me create a database table
How does authentication work?
Explain the project structure
How do I deploy to Cloudflare?
Add a new page with routing
How do I send emails?
Contributing
See the Contributing Guide to get started. Check good first issues or join Discord for discussion.
Yes — kriasoft/react-starter-kit ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/kriasoft/react-starter-kit.
What else is in the Frontend space?
kriasoft/react-starter-kit is tracked by TopGit under the Frontend category, alongside 20 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is kriasoft/react-starter-kit?
kriasoft/react-starter-kit (kriasoft/react-starter-kit) is a TypeScript project on GitHub. From the project's own README: Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.
What license does kriasoft/react-starter-kit use?
kriasoft/react-starter-kit is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where can I see kriasoft/react-starter-kit in action?
The project maintains a homepage at https://reactstarter.com. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about kriasoft/react-starter-kit?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/kriasoft/react-starter-kit is the definitive source.
Why is kriasoft/react-starter-kit categorized under Frontend?
TopGit places kriasoft/react-starter-kit in the Frontend category based on its GitHub topics and description (tagged: "better-auth", "boilerplate", "bun"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Curious whether react-starter-kit is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about react-starter-kit.