Why is MongoDB associated with Node js

0 votes
Why do we use MongoDB along with Node.js?
Jul 19, 2019 in Others by code_ninja
• 6,290 points
1,316 views

1 answer to this question.

0 votes

Node.js is an open source server environment which uses JavaScript on the server to develop backend applications

Let us have a look at client server architecture :

  • Frontend section handles user interaction, Any  customer can visualise only frontend part of application via web browsers
  •  Database plays role of storage unit (of the application). All the  application data is collected in this database
  • Accepting the request from frontend server, searching the data from database and sending back the response to client’s browser is done by backend application.

 database management systems (DBMS) are of two types: Relational and NoSQL DBMS

Relational DBMS handles the databases that store data in a structured format with the help of (tables) rows and columns

NoSQL DBMS handles the database that stores unstructured data in forms of collections and documents

The most commonly used SQL DBMS is MySQL and NoSQL DBMS is MongoDB

As your concern is MongoDB so let me focus only on MongoDB

 Usually people prefer mongoDB for following reasons:

  • NoSQL Database Management Systems are more flexible than RDBMS
  • The expense of maintaining and even setting up a RDBMS is relatively high
  • MongoDB is an open source database management system (DBMS) that uses a document-oriented database model which supports various forms of data
  • It holds a set of collections and stores data as document
  • Can handle variety of data and huge amount of data
  • It offers a MongoDB Node.js Driver which provides a JavaScript API and implements the network protocol required to read and write from a local or remote MongoDB database
  • All you have to do is install NPM -mongodb package in your Application Code

Major Customers using MongoDB are:

I hope this helps you, Happy Learning:)

To know more about it, get your Mongodb certification today.

Thanks.

answered Jul 19, 2019 by ArchanaNagur
• 2,340 points

Related Questions In Others

0 votes
1 answer

Why do we use Body-parser in Node.js?

For understanding this first you need to ...READ MORE

answered May 20, 2019 in Others by sunshine
• 1,280 points
6,320 views
0 votes
1 answer

Why and when to use Node.js?

The major reason why they are going ...READ MORE

answered Jun 14, 2019 in Others by sunshine
• 1,280 points

edited Jun 14, 2019 by sunshine 296 views
0 votes
1 answer

artificial intelligence is associated with which generation

Artificial Intelligence is associated with fifth-generation computer ...READ MORE

answered Feb 7 in Others by Edureka
• 9,540 points
1,635 views
0 votes
1 answer

How to communicate gRPC example working with Node.js?

hi.. you can read below link, it ...READ MORE

answered Dec 2, 2019 in Others by Narendra Reddy Dalli
1,498 views
+1 vote
1 answer

what is the difference between error and stderr in Node.js?

Error is an object created by Node.js to handle ...READ MORE

answered Jul 4, 2019 in Others by sunshine
• 1,280 points
1,133 views
0 votes
1 answer

How to include/ install any library in node.js application program?

Node.js is server side runtime environment that ...READ MORE

answered Jul 26, 2019 in Others by ArchanaNagur
• 2,340 points
460 views
0 votes
1 answer

In order to learn Node.js, I should be familiar with which other technologies ?

I appreciate your decision, its the perfect ...READ MORE

answered Jul 31, 2019 in Others by ArchanaNagur
• 2,340 points
327 views
+1 vote
1 answer

What is Node.js? I want a clear understanding about it.

Node.js is a runtime environment which allows ...READ MORE

answered Jun 17, 2019 in Others by ArchanaNagur
• 2,340 points
289 views
0 votes
1 answer

What is use of Babel in Node.js ?

Node.js is a runtime environment  which let us ...READ MORE

answered Jul 2, 2019 in Others by ArchanaNagur
• 2,340 points
1,478 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP