Every SaaS pivots. Most codebases don't survive it.
4.8(6)10SaaSDevelopment ToolsProgramming
Refract is a production-grade TypeScript SaaS boilerplate for teams that expect to pivot: pricing, plans, and integrations should be configuration—not a rewrite.
WHAT YOU GET
Who — Indie founders / small B2B teams; past-MVP teams; builders avoiding full rewrites when vendors change.
Why — Explicit boundaries + functional patterns. Full stack in Docker for repeatable onboarding.
Not a demo — Built for support load, billing edge cases, roles, integrations you have not chosen.
The pivot is a config change, not a rewrite.
Tech — React 19, Vite, MUI, Redux Toolkit, Apollo Client, React Router, RHF. Node, Express, Apollo Server, Sequelize, Postgres, Redis, Passport/JWT. Stripe; SQS/BullMQ; Brevo/SendGrid.
Business & Revenue Infrastructure
Engineering & Delivery Speed
Ops & Reliability
🚀 The High-Stakes B2B Startup
The Problem: You need to ship an MVP that looks like an Enterprise product (Orgs, Roles, Permissions) but your pricing model is still an experiment.
The Refract Edge: Launch with a robust B2B foundation on day one. If you decide to pivot from a $50/mo subscription to a usage-based credit model or a $2,000 one-off license, you swap a configuration adapter rather than rewriting your core billing logic.
🛠️ The "Modern" Agency & Studio
The Problem: Delivering high-quality custom SaaS for clients is slow because you’re constantly re-wiring Auth, Stripe, and Webhooks for every new project.
The Refract Edge: Use Refract as your "Gold Image." Its modular boundaries allow you to swap mail providers (Postmark vs. Resend) or databases per client while keeping a consistent, type-safe codebase that your team actually understands.
🤖 The AI-Native Product
The Problem: You’re building a wrapper or an agent-led tool where the code needs to be extremely organized so that AI coding assistants (like Cursor) don't hallucinate or break the logic.
The Refract Edge: Symmetric Legibility. Our "Direct-Map" directory structure provides a clear mental model for both humans and LLMs. The strict functional core ensures that AI-generated refactors stay within their lanes and don't leak into your infrastructure.
📈 The Hybrid Commerce Platform
The Problem: You want to sell a "Pro" subscription but also offer one-off "Power Packs," digital downloads, or top-up credits.
The Refract Edge: Refract handles the complexity of hybrid revenue. It’s a complete commerce engine that manages recurring MRR and one-time transactional sales within the same unified organizational context.
4.8
6 ratings
Software engineer from big-tech in California for 15 years, I moved back to Europe and turned to indie projects.
AI video with native sound, paid per clip. Nothing stored.
A calmer Mac menu bar, one click away.
Enterprise Software. Intelligent Automation. Global Impact.
Comments
10Software engineer from big-tech in California for 15 years, I moved back to Europe and turned to indie projects.
I built Refract because I was tired of fighting codebases everywhere. It’s a foundation designed for the long game—explicit boundaries, pivot-proof billing, and zero infrastructure lock-in. Enjoy!
It sounds like a good idea for sure. One little thing that people might find misleading: the first line of the description says 'Free'.
Really like the “configuration, not rewrite” idea. Most boilerplates help you start fast, but Refract seems focused on surviving the messy parts later — billing changes, auth, roles, integrations, and pivots. That’s a strong angle for SaaS teams.
True Lead helps marketing agencies find and convert high-quality local business leads automatically, with AI-powered lead scoring and ready-to-send outreach.
Interesting approach to lead scoring. The UI looks clean—how accurate is the data enrichment compared to tools like Apollo?
builder
good product, very well made
This is what a real boilerplate looks like not a demo, but production billing, RBAC, multi-tenancy out of the box. The composable adapter pattern is smart. Saves weeks of painful vendor lock-in rewrites. Well done!
Solving for pricing pivots at the infrastructure level is a smart move. Hardcoding Stripe logic usually leads to technical debt later, so this modular approach makes sense. Nice work.
https://lyricstosong.app
good job, very well made
Founder building ChurnNote, a simple churn recovery tool for SaaS founders.
Really like the “config, not rewrite” angle, billing pivots and provider swaps are exactly where most SaaS boilerplates break later.
Good to see more tools tackling this problem seriously. The onboarding looks simple which is important for non-technical users. Would love to see a comparison breakdown against existing solutions somewhere on the site.