Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
TypeScript monorepo boilerplate for React Router 7 apps with Turborepo, pnpm, Drizzle/Prisma, Turso/PostgreSQL, shadcn/ui, and Fly.io.

Free Bootstrap 4 design system with over 100 components, pre-built pages, and a full UI kit for faster web projects.
The React Router Gospel Stack is an opinionated TypeScript monorepo boilerplate that combines React Router v7+, Turborepo, and pnpm to produce full-stack web applications deployable to Fly.io or as Docker images.
The React Router Gospel Stack is a GitHub template maintained by PhilDL that generates a full-stack TypeScript monorepo for React Router v7+ applications. It takes a project name as input and outputs a workspace with apps, packages, and config folders, prewired with Turborepo pipelines, pnpm workspaces, shadcn/ui, TailwindCSS 4, and a choice between Drizzle or Prisma ORMs against Turso or PostgreSQL. The application runs on Node.js, deploys to Fly.io or as a Docker image, and is released under the MIT license. The stack evolved from the Remix Gospel Stack and reflects its author's production SaaS setup, with decision documents explaining changes like Turso over LiteFS.
This stack targets TypeScript developers and teams who want a production-oriented monorepo for React Router applications without assembling all tooling from scratch. It's suited for developers already committed to pnpm and Turborepo, teams planning to deploy on Fly.io, and those looking for a concrete example of the React Router v7+ framework after the Remix merge.
Copy the template with pnpm dlx degit PhilDL/react-router-gospel-stack my-app (or git clone), then run pnpm install and pnpm run setup to initialize the project. The setup script configures the chosen database and prepares environment variables. During development, Turborepo runs builds, linting, typechecking, and tests across all packages with caching.
Yes, the stack is released under the MIT license, so you can use it commercially and modify it freely.
No, the stack is designed exclusively for pnpm to manage monorepo workspaces and uses pnpm catalogs for version centralization. Other package managers are not supported.
You can choose between Turso, a distributed SQLite with libSQL, and PostgreSQL on a multi-region Fly cluster. The stack includes both Drizzle and Prisma ORMs, and you can switch between them.
The stack comes with Docker configuration and GitHub Actions that target Fly.io, but because it builds Docker images, you can adapt those images to other container hosts.
No. The migration from the Remix Gospel Stack intentionally dropped the Next.js app and Vercel deployments to focus on React Router v7+.