Node.js Chapter 3: HTTP Server, Error Handling & Sub-Topics
Placeholder chapter — Replace this outline with your study notes, code snippets, and exercises.
HTTP Server Basics
- Creating a basic server with
node:httpand setting response headers/status codes - Parsing request URLs, query parameters, and JSON request bodies
Error Handling and Logging
- Handling
uncaughtException,unhandledRejection, and structured error responses - Separating operational errors from programmer bugs