Shared Libraries And Scaffolder
4 sectionsRapid overview
Shared Libraries & the Product Scaffolder
TL;DR
A multi-tenant SaaS platform that ships several products (surveys, online menus, event pages, games, and more) faces one recurring temptation: copy the plumbing — auth, multi-tenancy, billing, messaging, email, storage — into every
Read →How it works
The single most important rule in this codebase is:
Read →How to use it (conceptually)
The thought process when you reach for a shared package:
Read →Key takeaways
two call sites are a library. Extracting earlier produces premature abstractions shaped by a single caller. If a planned package turns out to have only one real consumer, defer it. - One package, one concern. Each shared library (backend Nu…
Read →