
Refract
Every SaaS pivots. Most codebases don't survive it.
Details
- Follow on
- @userefractioLinkedIn
- Target Audience
- DevelopersFounders & CEOsIndie Hackers
- Pricing
- Paid
- Platforms
- Web
- Alternative To
ShipFast
About Refract
Refract is a production-grade TypeScript SaaS boilerplate built around one truth: your business will pivot, your pricing will change, and most codebases won't survive it. What you get out of the box: Plug-and-play billing with idempotent Stripe webhooks and dynamic plan management Dynamic RBAC and multi-tenancy — B2B-ready from day one Pluggable infrastructure — swap queue, mailer, cache, or analytics providers without touching your product logic 80%+ test coverage on the billing and auth core Runs locally via Docker Compose with a single command — deploys to Railway in minutes Comprehensive Cursor rules for AI-assisted development The pivot is a config change, not a rewrite. That's the promise.
Product Insights
Refract is a B2B-ready TypeScript boilerplate designed for web platforms, featuring pluggable infrastructure and comprehensive diagnostic testing. It integrates core SaaS functions like dynamic RBAC, multi-tenancy, and automated billing through a local Docker environment.
- Production-grade 80% plus test coverage on billing and authentication modules.
- Pluggable infrastructure for swapping mailers, caches, and analytics without logic rewrites.
- B2B-ready architecture including multi-tenancy and dynamic role-based access control.
- Optimized for AI-assisted workflows with specific Cursor development rules.
Ideal for: Developers, Founders, and Indie Hackers who require a flexible codebase to support business pivots and complex B2B billing requirements.
Refract is positioned as a TypeScript-focused alternative to ShipFast.
Product Video
Watch a video demo of Refract.
Screenshots
Reviews (0)
No reviews yet. Be the first to rate this product!




Comments (1)
Tired of infra lock-in eating your product time? Refract: hard layer boundaries, swappable adapters, 80%+ tests, CI/CD out of the box. Built for founders shipping with AI agents (do these even exist anymore...). Questions welcome!