Plain Node.js: Backend Development Without Frameworks
summary
Shows how to build a backend on Node.js using only built‑in platform features (HTTP, URLPattern, etc.) instead of frameworks like Express, Fastify or NestJS. Walks through creating a minimalist router and implements Repository, Strategy, Middleware, Controllers and Exception Filters in TypeScript (OOP) to demonstrate clean architecture and SOLID with explicit dependencies, and discusses pros and cons of framework‑less development.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 1:01Motivation for custom frameworks
- 4:53Backend pains and MVC issues
- 6:58Node.js built-ins overview
- 9:04Minimal abstractions needed
- 11:14Framework core details
- 13:43App initialization
- 15:06Routing challenges
- 16:53Middleware pipeline
- 18:19Error handling filters
- 19:22Sample app
- 21:06Controller separation
- 22:30DTO validation
- 24:17Dependency inversion
- 25:39Repository pattern
- 27:23Password policy strategy
- 28:46Domain exception filters
- 30:28Entry point setup
- 31:52Request flow walkthrough
- 32:55SOLID in practice
- 34:20When to use custom frameworks
- 36:50Framework internals benefits
- 37:32Repo and demo walkthrough
- 39:17Q&A
- 41:03Framework stories
- 42:07Production use cases
- 43:51Debugging and telemetry
