Create a HTTP Server in Node.js
In this tutorial, we show you how you can quickly create a HTTP server that runs locally on your computer using the in-built http
module in Node.js. The server is capable of serving up different files from the server in response to a request, including HTML.
The tutorial also covers basic error-handling (404 error message).