Hooked on the Hexagon, Node JS Didn't Really Help Me Stay Clean
summary
An exploration of implementing hexagonal architecture, Clean Architecture and Domain-Driven Design in a JavaScript/Node.js REST API. It explains the experiment’s steps, lists strengths and weaknesses, and examines practical problems when applying an hexagonal model in the Node.js ecosystem, plus some tools that can help.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 3:34Project origins and needs
- 6:27Hexagonal model and DDD
- 11:45JavaScript and TypeScript issues
- 18:07Dependency injection in JS
- 20:57Inversion of control in JS
- 24:06Component isolation
- 26:31Discovering NestJS
- 27:12Dependency injection with NestJS
- 27:56Inversion of control with NestJS
- 29:21Component separation
- 31:11NestJS key features
- 31:31Controller management
- 33:40Logging interceptors
- 35:03Error interceptors
- 38:15Middleware and context
- 41:24Summary and feedback
- 43:11NestJS pros and cons
- 44:36Conclusion and Q&A
related talks
53mHexagonal Architecture in a Nodejs Project
02h 44mHexagonal Architecturoplasty of a Node.js Backend
57mHow to Build a Hexagon: Pragmatic Architecture for Client Applications
18mHexagonal Modules : A Cleaner Approach to Monolithic API Design
46mHexagonal Architecture with Ruby
47mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
51mHexagonal Architecture to the rescue
45mDomain-Driven Design in Micro Frontends
