# Refract

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


- **Website**: https://userefract.io
- **Uneed Page**: https://www.uneed.best/tool/refract
- **Pricing**: Paid
- **Category**: Development
- **Tags**: Engineering, Development, Boilerplate
- **Submitted by**: @yjaspar-5969
- **Launch Date**: 2026-08-21
- **Social Links**: [Twitter](https://twitter.com/n__o__x__e__n) | [LinkedIn](https://www.linkedin.com/in/yoannjaspar/)

## About

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.