So you want a simple Node HTTP Server?
January 06, 2016
5 steps to create a simple Node HTTP Server
Step 1.
Open a terminal and install NPM if you don’t have it yet
curl https://npmjs.org/install.sh | sh
Step 2.
Install the Node HTTP Server
npm install http-server -g
Step 3.
Run the Node HTTP Server
http-server
Step 4.
Create a new index.html page in your current directory then visit http://127.0.0.1:8080
Step 5.
There is no step 5. Simples!