Skip to content

Latest commit

 

History

History
 
 

Exercise9.07

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

How to use

  1. Install dependencies.

npm install

  1. Execute the script using following command :

node MongoDBConnect.js

Common Errors

MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED]

Before running this script, make sure the mongodb server must be running on local machine.