2 Minute HTTP or Local web server using Node.js

This couldn’t be simpler. Jason Watmore covers the steps in detail here: http://jasonwatmore.com/post/2016/06/22/nodejs-setup-simple-http-server-local-web-server

Make sure you have Node.js installed. Download links are at the bottom of their home page.

  1. Open up your shell of choice – Command Prompt, Terminal, Bash, whatever!
  2. Run “npm install -g http-server” (package documentation here)
  3. “cd” (Change Directory) into your project folder
  4. Run “http-server”
  5. Browse to http://localhost:8080

Screen Shot 2017-06-10 at 1.45.21 pm

Look at that!

 

 

One thought on “2 Minute HTTP or Local web server using Node.js

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.