how to configure nodejs as a server on windows
Today itâs really easy to setup Node.js and install NPM apps on Windows systems. Hereâs a guide how to setup a HTTP server. No programming skills required! (Basically itâs the same process for any OS!). 1  First you must install NodeJS. 2  Open the command prompt to run following commands. Windows 7: Open Start and write cmd into the search and press enter. 2  Windows XP: Open Start and select Run and write cmd and press enter. 3  Run this command to install a HTTP server: npm install http-server-g. 4  And start the HTTP server: http-server /path/to/docroot with a path to the folder you want to share.