Architecture of a Modern Enterprise Node js Application
summary
Describes using a dedicated BFF layer written in TypeScript on NestJS for large corporate frontends: it server-renders HTML for SEO, aggregates multiple backend calls into a single gateway, and centralizes business rules while leaving small view logic to the client. Discusses trade-offs and operational concerns—Node.js handles many concurrent requests but can block on CPU-bound work, GraphQL risks N+1 queries unless optimized, and alternatives like Deno or Graal exist—and advocates a layered hexagonal/clean architecture with dependency injection to enable safe migration in production.
AI-written summary · about
chapters (16)
- 0:00Enterprise Node.js intro
- 1:26Modern app challenges
- 3:13Server-side rendering
- 5:02View data handling
- 6:48BFF pattern
- 9:19Node.js runtime
- 12:51Business logic placement
- 16:45Architecture goals
- 18:11Layered architecture
- 21:48DDD principles
- 25:41NestJS benefits
- 29:15Exception handling
- 31:02NestJS layers
- 33:30Hexagonal architecture
- 34:55NestJS lessons
- 37:04Q&A
related talks
35mRethinking Enterprise Architectures with Node.js
41mArchitecture in Node.js using NestJS
01h 13mModern Backend for Frontend on Node.js
30mThe working Architecture of Node.js Applications
02h 44mHexagonal Architecturoplasty of a Node.js Backend
38mBuild modern and scalable Node.js Web Applications with Nest
53mHexagonal Architecture in a Nodejs Project
47mCreating Enterprise Web Applications with Node.js
