MERN Stack

What is a technology stack?

It’s a set of frameworks and tools which is used to develop a software. These set of frameworks and tools are choose according their ability to working together and function well.

  • MERN (MongoDB, ExpressJS, ReactJS, NodeJS)
  • LAMP (Linux, Apache, MySQL, PHP)
  • MEAN (MongoDB, ExpressJS, AngularJS, NodeJS)

MERN Stack

  • MongoDB
  • Express(.js)
  • React(.js)
  • Node(.js)

Mean Stack is a JavaScript Stack that can used to built web applications easily and quickly. Each of these 4 technologies are playing a big part in developing web applications. Since these are very powerful and end-to-end framework developer can work on their projects easily. 

Brief introduction about each technology,

  • MongoDB: 
    • NoSQL, document-oriented  database used to store application data.
  • NodeJS: 
    • The JavaScript runtime environment for the server side. It is used to run JavaScript on the machine rather than in a browser.
  • ExpressJS:
    •  A JavaScript framework that run on top of NodeJS, used to build the backend of the application by using NodeJS functions and structures. NodeJS is only built to rather run JavaScript on a machine not to build web application, because of that ExpressJS was developed.
  • ReactJS:
    •  A JS library created by Facebook. It is used to build UI components that create the user interface of the single page web application.

How does the MERN stack work?

MERN architecture construct into 3-tier architecture (frontend, backend, database) with full use of JavaScript and JSON.

User interacts with the ReactJS UI components(front-end) from the web browser. Front-end is served by the application’s backend residing in a server(ExpressJS running on top of NodeJS).

If there any data chance request, will be handled by the NodeJS based Express server. Server will get the required data from the database(MongoDB) and send return it to the front-end so the user can view them

Comments

Popular posts from this blog

What is JavaScript?

HTTP Verbs