Connect to Mongodb

Download node.js eBook


MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.

For more details go to


  • MongoClient.connect('mongodb://',function (err,db) {//do womething here});

Related Examples


22 Contributors: 3
Wednesday, May 17, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook