So you want a simple Node HTTP Server?

May 4, 2015

alt text

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 | sh

Step 2.

Install the Node HTTP Server

npm install http-server -g

Step 3.

Run the Node HTTP Server


Step 4.

Create a new index.html page in your current directory then visit

Step 5.

There is no step 5. Simples!