Uploading the server.js file. 

Here are the steps to star:
1. Create the file (eg: server.js) on nitrus.io in a directory outside of workspace folder.
2. Paste the contents of the javascript code in the file ou created
3. Follow steps in bottom part of the file npm install .... to install the respective modules.
4. Start the node server (eg: node server.js)
4. Look at the port that your using "8080" in code...You can get the full URL by going to Preview and selecting any port number...You know the actual port so change it in the URL.