Step 1

First install node js

create one file in nodejs folder (node js installed folder) is hello.js

var http = require(‘http’);
http.createServer(function (req, res) {
res.writeHead(200, {‘Content-Type’: ‘text/plain’});
res.end(‘Hello World !’);
}).listen(8080, ‘’);
console.log(‘Server running at’);

Step:2 Install MongoDB from any site

After install go to path C:\Program Files\MongoDB 2.6 Standard\bin

First Step is to set your DB path

Write command mongod.exe –dbpath write your path of your db folder

For go to mongo shell

write command mongo.exe in bin directory.

Note: Make sure all CMD must be open otherwise it will lost Connection.