#What it is
A multi-tenant SaaS starter built on NestJS, published in September 2019 and still the repository most people know me from.
#What is in it
- Microservices behind Apollo Federation, so each service owns its slice of the graph.
- CQRS with EventStoreDB for the write side.
- Tenant resolution wired through the request path rather than bolted onto each resolver.
- Authentication, billing and account management already connected to each other.
- Docker and Kubernetes manifests for local and cluster running.
#Why I wrote it
I had rebuilt the same first two weeks of a project three times in a year, repeating the same federation setup, the same tenant middleware and the same auth-to-billing wiring, and made slightly different decisions each time for no reason I could reconstruct.
That instinct is the same one that produced Forge six years later. The difference is that Ultimate Backend is a template you copy and diverge from, while Forge is a dependency you upgrade. I would make the second choice again.
#What came out of it
NestJS Event Store was extracted when people started asking for only the CQRS-and-EventStore part. NestJS Casbin and the Casbin MongoDB adapter came out of its authorization layer. The federation gateway module was deprecated once official federation support landed, which is the correct end for that kind of package.