Node's built-in http module lets you build a web server without any external dependencies. The createServer() function takes a callback with the req (request) and res (response) objects.
You can inspect req.url and req.method to implement basic routing.