mngodb Archive
01 Feb 2015
Insert a document using NodeJs and mongoDB

Insert a document using Node.js and mongoDB SupposeĀ you have a mongoDB database for courses and you want to insert a record into the database using Node.js. First step is to install mongoDB driver for Node.jsĀ If it is not already installed. Please open command line and run following command. > npm install mongodb This