it has high performance on real-time web.
Mongodb which is NOSQL database,has document-oriented,ad hoc queries,indexing,replication,load balancing,file storage,aggregation,server-side JavaScript execution and capped collections.It matches with node.js application.
There is some step to install node.js with mongodb.
We use node-mongodb-native
Here is github link
1. Install Mongodb with Homebrew
$ brew install mongodb
2. Create the data directory
$ mkdit -p /data/db
3. Install NodeJS Driver
Under package.json file directory
$ npm install
4.Booting up a MongoDB Server
$ sudo mongod --dbpath=/data/db --port 27017