# Node's Own Web Server

Node's Own Web Server: A Web Server with Node's http Module, Routing by Hand, and Why Frameworks Exist.

Updated: November 19, 2026

1. [A Web Server with Node's http Module](https://www.ask-codey.com/lessons/node-http-first-server) (Apprentice): Node's own http module starts a web server that keeps running and calls your function once for every request, which reads req.method and req.url and answers with res.writeHead and res.end.
2. [Routing by Hand, and Why Frameworks Exist](https://www.ask-codey.com/lessons/node-http-why-frameworks) (Apprentice): A node:http server routes each request with if statements on its method and path, reads a JSON body that arrives in pieces, and grows a little with every address, which is the work a framework such as Express takes over.

Source: https://www.ask-codey.com/courses/nodejs-in-depth/topics/node-http-module
