DEV Community

Cover image for Backend server
Rakib Rahman
Rakib Rahman

Posted on

Backend server

Node.js is a non-blocking and single-threaded JS engine. It is used for back-end API services. With the use of Node.js, we can create dynamic page, access files by collecting data.

I built a website which is an e-commerce platform. I need to store a lot of data for the products. MongoDB is an important database system for this type of data. I stored data in their database server and used it in my website.

MongoDB is an open source NoSQL database management program. We need to store so much information on the website. MongoDB is a user-friendly, secured and flexible interface for the developers. I used their database for storing product’s details/information in my last ecommerce website.

JSON Web Token (JWT) is a security system to hold information about a user. When a user login to a website, the website holds some basic information (UserID, Email and so on) to recognize a specific user. When he/she logged in or placed any request, the authority checked by the JWT token without sending private credentials on every request. It expires within 02 hours.

It doesn’t require a database system because the data store in the JWT sent to the client is safe. This information can be verified and trusted because of authority authentication.

There are some other token systems to verify users.
OAuth2.
Passport.
Spring Security.
Auth0.
Amazon Cognito.
Keycloak.
Firebase Authentication.
Devise.

SQL stands for Structured Query Language. SQL is called a Relational Database Management System. SQL is vertically scalable. SQL is table-based. SQL is better for multi-row transactions.

NoSQL stands for non-relational SQL. NoSQL is a Non-relational or distributed database system. NoSQL databases are horizontally scalable. NoSQL document based databases where we store large datasets. NoSQL is better for unstructured data.

CRUD stands for Create (insert operation), Read (recover documents from collection), Update (modify documents in a collection), and Delete (remove documents from the collection) of database systems in the web application and primitive operations.

Top comments (0)