A Web Server with Node's http Module
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.
Updated

- Category
- Node.js
- Level
- Apprentice
- Tags
- http Module, localhost, nodejs, port, req and res, Web server, web-development