Node is a javascript runtime for built on Chrome's V8 JavaScript engine.
Step - 1
Download windows installer from node.js website.
Install it.
After installation you have to restart your computer otherwise it does not work properly.
After installation you have to restart your computer otherwise it does not work properly.
Step - 2
Install http-server on your computer
open cmd as administrator permission
Now write this command
>>> npm install http-server -g
Step -3
Now create folder in C:\http-server in your computer
Now write this command for open server
Befor starting server you create simple html file to test your server
>>> http-server c:/http-server
Step -4
Now open your browser and paste this link
http://127.0.0.1:8080
0 comments:
Post a Comment