Building HTTP Servers
The runtime, the router and the middleware chain a request passes through.
3 concepts · 115 minutes
- The Node.js RuntimeJavaScript outside the browser: modules, streams, and a single thread doing a lot of I/O.
- Building an HTTP ServerRoutes, handlers, and the request lifecycle from socket to response.
- The Middleware PatternA pipeline of small functions around every request — auth, logging, parsing, all composable.