/node_web_static

Node JS web server to display directory contents. This will display the html file and all the assets as they should so that it becomes a static website.

Primary LanguageJavaScript

node_web_static

Node JS web server to display directory contents. This will display the html file and all the assets as they should so that it becomes a static website.

How to run

  1. Put your files in the htdocs directory. index.html will automatically displayed.

  2. Install all dependencies

npm install
  1. Run the server
npm run start
  1. Browse it with your browser.