
About Us
OUR STORY
React SaaS Starter began as the code every product kept rewriting: accounts, teams, billing and an admin panel. Now it is one open, tested starting point you can read from end to end.
From the first commit to the first invoice, without rebuilding the plumbing.
Each module has an obvious home: routes on the server, shared types in the contracts package and tables in the database package. Read one and you know where the next one lives.
- Authorisation checked on the server, never in the browser.
- One HTTPS origin for the app and the API.
- Database and browser tests for the key flows.
Counted in the code, not claimed
0%
Commission an affiliate earns on each paid invoice for 12 months.
0
Days of free trial on a first paid subscription, set in billing.ts.
0
Characters is the shortest password Better Auth will accept.
0
Blocks at most on one page, checked by the server on every save.

Sample data: a chart card as your own dashboard might show it.
How it is organised
One module for each job, each with its routes, types and tables in a known place.
- AuthenticationAccounts and sessions
- OrganisationsTeams, roles and invitations
- BillingStripe plans and entitlements
- AffiliatesReferrals, commissions and payouts
- Admin panelUsers, organisations and roles
- Page editorPages built and published in place
- Email & analyticsLoops email and PostHog events
Each module keeps its routes on the server, its types in the contracts package and its tables in the database package.
Still on the list
Help close the gaps we know about: each one is written down in the plan and open to anyone.
What guides the code
A few rules that keep the starter easy to read, safe to change and ready to ship on the day you clone it.
Checked on the server
Roles, plans and limits are enforced by the API, never trusted from the browser.
Typed end to end
Shared DTOs and Drizzle schemas keep the app and the API in step.
One writer for billing
Only Stripe's webhook changes subscription state, once per event.
Auth you don't rewrite
Better Auth owns passwords, sessions and cookies; the app never handles them.
Tested where it matters
Database integration tests and browser tests cover the main flows.
Ready to deploy
A Railway template, or Docker Compose with Caddy on one HTTPS origin.
Read the code before you commit to it: every module is small enough to understand in an afternoon.




