Javatpoint Logo
Javatpoint Logo

Node.js Create Connection with MongoDB

MongoDb is a NoSQL database. It can be used with Node.js as a database to insert and retrieve data.

Download MongoDB

Open the Linux Command Terminal and execute the following command:

It will download the latest MongoDB according to your system requirement.

Node.js Create connection 1

Install MongoDB

After the complete download, use the following command to install MogoDB.

Use the following command to start MongoDb services:

Node.js Create connection 2

Now, connection is created for further operations.

To download and install MongoDB on windows, see the following page:

Click here

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA