Logo of Refract

Refract

Every SaaS pivots. Most codebases don't survive it.

Refract — The TypeScript SaaS Boilerplate Built for the Second Year

Most boilerplates save you a week of setup. Refract saves you the rewrite.

Built by a former Billing Tech Lead at Loom (through the Atlassian acquisition), Refract is a production-grade TypeScript monorepo that ships with the architecture decisions already made — so your codebase survives pricing changes, team growth, and the pivots you haven't planned for yet.

What you get on day one:

🏗 Clean architecture — Onion/Hexagonal pattern with strict layer separation. Resolvers → Business logic → Adapters. Your agents and your engineers can both navigate it without hallucinating structure.

💳 Adaptive billing engine — Idempotent Stripe integration with dynamic plans, metered usage, and a provider adapter pattern. Swap payment processors without touching product logic.

🔐 RBAC + Multi-tenancy — Scoped role-based access control and multi-tenant architecture wired in from the start, not bolted on later.

Full TypeScript stack — React · Astro · Apollo GraphQL · Express · PostgreSQL · Redis · BullMQ · AWS SQS · Railway · Docker · pnpm monorepo

🧪 80%+ test coverage — Functional core, clean separation of concerns. Refactor fast, pivot confidently.

🤖 Cursor-native — Cursor rules included. The codebase is structured so AI agents navigate it correctly.

userefract.io runs on Refract itself. Every visitor experiences the architecture live.

Pricing: Solo $299 · Founder $699 · Studio $1,499

All early licenses include lifetime updates and support access — no renewals, ever. After the first 50, updates and support move to an annual add-on.

Lock in the best deal before the price structure changes.

About Refract

Refract is a development product listed on Uneed as a paid product. It's tagged with Development, Boilerplate. See the best Development products for related options.

Frequently asked questions about Refract

What is Refract?

Refract is every SaaS pivots. Most codebases don't survive it.

Is Refract free?

Refract is a paid product. Check their website for current pricing.

What are alternatives to Refract?

Discover similar development, boilerplate, engineering products in the Uneed directory.

What category does Refract belong to?

Refract is listed under Development on Uneed.

What users say about Refract

Ojin

"Every SaaS pivots, most codebases don't survive it" is the sharpest problem statement on today's list. The rewrite after a pivot is the cost nobody budgets for.

Read all 1 review