Two foundations. The hard 80% already solved and tested.
Most products die in the plumbing: auth, billing, tenancy, background jobs. I built that plumbing twice, as two separate codebases, each architected for its business model, carrying 10,000+ unit and integration tests between them, so every build starts at your features, not a blank repo. You ship on the one that fits: 3,500+ tests on the user-gated foundation, 6,500+ on the tenant-gated one.
Specification
Two codebases. Pick by the gate, read the spec.
Note — The only architecture decision you make is the gate: does your product charge people, or companies? Everything behind the gate is already built and tested.
Its own codebase: one deployable with folder-based module boundaries, simple to operate and fast to iterate. Everything gates on the individual user: identity, subscription, entitlements, limits.
Its own codebase: modules bounded by project, ready to extract into microservices when scale demands, with no rewrite. Everything gates on the tenant: isolation, seats, roles, invites, audit. It serves individuals too. A solo customer is a tenant of one, and that account grows into a team without a migration.
Every build ships with the client-facing stack.
Backend on the matching foundation, plus its client stack. The bundle differs by which foundation fits.
Section A-A · through a client build
Your features are the only part left to machine.
Hatched — existing material. Both foundations are private codebases; Shopilent, the open-source backend built to the same standard, is not: 4,000+ tests, public on GitHub.
The license, in plain words
- ✓Source, documentation, and tests for the custom product built for you
- ✓Host it on your infrastructure and modify your custom code
- ✓A perpetual license to run the foundation, as compiled packages, with that product
- ✓Updates and new features to the foundation at no charge, for as long as I support it
- ✓Critical foundation fixes applied for you at no charge; other updates you apply yourself, or hire me to
- ✓Foundation documentation, and the freedom to replace or extend its services, such as caching, with your own implementations. Its endpoints and request pipeline stay fixed
- —The foundation source and IP. It is never part of the handover
- —No redistributing the packages or passing the license to another party
- —No building separate new products on the foundation
Build it once.
Scale on it.
Tell me what you're building, or what your AI-built MVP is struggling with. I reply within 24 hours with an honest read.