Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 13, 2022 07:47 am GMT

Node & Mongo Blogs

CRUD Operations:
In MongoDB basic programs and methods are called CRUD. CRUD stands for create, read, update and delete. By this method, we will manage the primary data in our database.

JWT:
JWT token stand for JSON WEB TOKEN on of the best use of JWT is sharing information between two parties are client and server. They signed for using a cryptographic algorithm to ensure that the claims cannot be altered after the token is issued.

Mongoose:
Mongoose is an object data modeling library for MongoDB and node js. Its the middle man to connects the data and provide the client. It can translate the object in code and the representation of those objects in MongoDB.

Relational database (MySql):
The relational database is a system that is maintained a relational database sometimes called MySql. In SQL structure data is stored in a table and NoSQL use Beson to store data. NoSql will be global data that can take different locations and can easily be accessed.

Aggregation:
In MongoDB, Aggregation operation means an operation that helps process the data records/documents and then return the data computed the results. Aggregation collects the data and placed them together then uses a different type of operation like sum, average, minimum, maximum return the computed result.

Express:
Express helps us to specify which kind of function we gonna call like the post, get, update, delete of URL pattern, and specify that templet view we will use for this render a response, and also where is locked.

Replication:
In a simple way replication is a simple process of creating a copy of the same data set in more than one MongoDB server. Replication help people from losing data of a single server.

Why node mongo in react project:
Every react developer knows about javascript so we havent learned any kind of new language for the backend server. We can use node and mongo by javascript language so we use node mongo in our react project. And MongoDB is a NoSql type database and NoSql is javascript friendly structure provide us that is also a matter for using mongo in react projects.
Differences between SQL and NoSQL databases:
SQL means Structured Query Language. SQL is a relational database on the other hand NoSQL is a nonrelational database. In SQL structure data is stored in a table and NoSQL use Beson to store data. NoSql will be global data that can take different locations and can easily be accessed. SQL only stores structured data but NoSql will be unstructured, semi-structured, and all kinds of data can be stored.


Original Link: https://dev.to/heezol06/node-mongo-blogs-5122

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To