Skip to content

Bullet Train vs Epic Stack

Both are boilerplates. Here is what separates them.

Bullet TrainEpic Stack
CategoryBoilerplatesBoilerplates
Pricing modelopen-sourceopen-source
Price fromOpen sourceOpen source
Upvotes79
What it doesA Rails SaaS starter with teams, roles and scaffolding that writes itself.Kent C. Dodds' opinionated full-stack starter for React Router apps.

What Bullet Train is

## What Bullet Train is Bullet Train is an open source starter for Ruby on Rails applications that charge money. Teams, invitations, roles, onboarding and an API are present from the first commit, and a code generator extends that structure to each new resource. ## The problem it addresses Rails gives a developer a great deal and deliberately stops short of opinions about accounts. Every commercial Rails application therefore reinvents the same layer: organisations rather than lone users, invitations, who may edit what, and the scoping that stops one customer reading another's records. The last of those is the dangerous one, because a missing scope is invisible until it is a disclosure incident, and retrofitting tenancy onto a schema that assumed single users touches almost every query in the codebase. ## Super scaffolding Rails generates a CRUD skeleton. This generates the thing people actually ship: views, controller, routes, translations, tests and matching API endpoints, scoped to the owning team by default. Because the output is conventional Rails, the result stays readable to anybody who knows the framework and does not become a private dialect. ## The API as a by-product Endpoints are versioned and produced alongside the web interface instead of bolted on when a customer asks. That ordering matters, since an API designed after the fact tends to expose whatever the views happened to need. ## Themes Presentation sits behind a theme layer built on Tailwind, so visual changes are not a sweep through every template. Teams wanting a bespoke interface can replace the theme without touching application logic. ## Licensing and support The foundation is MIT and the business sells editions and support. That makes evaluation straightforward in a way paid-only kits are not: clone it, read it, decide. ## Where it stops It is Rails or nothing, which settles the question for most teams immediately. The conventions are strong, and a project that wants a different account model will spend its time arguing with the generator. None of your domain logic is included, and the paid tier boundary should be checked against your roadmap rather than discovered later.

What Epic Stack is

## What the Epic Stack is The Epic Stack is an opinionated project starter and reference application for full-stack web apps, created by Kent C. Dodds with contributions from the community. Running npx epicli new generates a working application built on React Router in framework mode, the successor to Remix, with authentication, a database, testing, monitoring and deployment already configured. It is released under the MIT licence. ## What distinguishes it The decisions are documented, not just made. Alongside the code sits a folder of decision records explaining why each tool was picked and what was traded away, plus guiding principles: limit third-party services, offer only one way to do each thing, and keep development possible offline by mocking external services. For a team, that written reasoning is as valuable as the code, because it settles arguments before they start. The database choice is unusual. Rather than a managed Postgres service, the stack runs SQLite through Prisma and replicates it across regions on Fly.io with LiteFS, keeping data close to the server and the hosting bill short. Caching uses an in-memory layer plus SQLite, and uploaded images go to Tigris object storage. Authentication is thorough for a free starter: email verification by code or link, passwords hashed with bcrypt, GitHub login through remix-auth with room for other providers, passkeys and two-factor codes from an authenticator app, with role-based permissions on top. Testing is configured end to end with Playwright, Vitest, Testing Library and MSW, and GitHub Actions deploy to separate staging and production apps on every merge. ## Who it suits Developers and teams starting a serious web application in the React ecosystem who would rather adopt a coherent set of tested opinions than assemble their own. It also works as a study resource for anyone wanting to see how an experienced engineer wires sessions, permissions and tests together. ## Where it stops It is tied closely to Fly.io; moving to another host means reworking the very database setup that makes it distinctive. There is no billing, multi-tenancy or admin panel, so a SaaS product still needs those built. Once generated, the code is yours alone: improvements to the template never arrive automatically and must be copied across manually. And the opinions are firm by design, so a team that disagrees with several of them will spend more time removing pieces than it saves.

We are not affiliated with either product. Upvote counts come from the published formula and neither position was paid for.