The Art of Building Node.js Projects at Scale
summary
A large open-source API framework moves from dozens of separate repos into a single Lerna monorepo to manage 50+ npm packages, cut PR and CI complexity, and automate versioning and publishing; it adopts TypeScript project references to speed incremental builds and give IDE-signatures for hidden contracts; it builds an inversion-of-control container and component/extension model to support pluggable auth, connectors and async dependency injection; results: LoopBack 4 ships (v4 released) and contributor productivity and testing become measurably easier.
AI-written summary · about
chapters (17)
- 0:00Intro
- 1:17Let's run a few polls
- 2:42A large scale Node.js project
- 4:20LoopBack - a large scale Node.js framework
- 5:54V4 - The next generation of LoopBack
- 13:00TypeScript Project References
- 15:04Plain JavaScript
- 16:45TypeScript (LoopBack 4x)
- 18:37See the difference
- 21:15LoopBack 4 core - an loc container
- 23:05(Async) dependency injection
- 24:32Declare dependencies
- 27:09Extensibility
- 27:52An example of extension point/extensions
- 28:42Connect extensions to its extension point
- 30:35Sequence of Actions
- 32:37Summary
related talks
24mDeveloping in a Large Monorepo
39mThe Structure of Node.JS Applications
34mA Platformized Approach to Node.js Development
35mRethinking Enterprise Architectures with Node.js
48mThe Node Module Diaries: Large App Architecture from the Trenches
47mCreating Enterprise Web Applications with Node.js
41mHow the npm CLI Team Manages (Almost) 100 Open Source Projects
31mBuilding an OpenAPI from Typescript
