MERN (solution stack)

From Wikitia
Jump to navigation Jump to search
MERN (solution stack)
PlatformMongoDB, Express.js, React, and Node.js

MERN stack is a software stack that includes four open-source technologies: (MongoDB, Express.js, React, and Node.js). These components provide an end-to-end framework for building dynamic web sites and web applications.

Among these technologies MongoDB is a database system, Node.js is a server-side runtime environment, Express.js is a web framework for Node.js and React is a client-side JavaScript library used for building user interfaces.

Because all components of the MERN stack support programs that are written in JavaScript, MERN applications can be written in one programming language for both server-side and client-side execution environments.

Software components


MongoDB is a NoSQL database program that uses JSON-like BSON (binary JSON) documents with schema[1].

The role of the database in the MERN stack is very commonly filled by MongoDB because its use of JSON-like documents for interacting with data as opposed to the row/column model allows it to integrate well with the other (JavaScript-based) components of the stack.


Express.js (also referred to as Express) is a modular web application framework for Node.js[2].

Whilst Express is capable of acting as an internet-facing web server, even supporting SSL/TLS out of the box, it is often used in conjunction with a reverse proxy such as NGINX or Apache for performance reasons.


React (also known as React.js or ReactJS) is a JavaScript library[3] for building user interfaces. It is maintained by Facebook and a community of individual developers and companies.

React can be used as a base in the development of single-page or mobile applications. However, React is only concerned with rendering data to the DOM, and so creating React applications usually requires the use of additional libraries for state management and routing.Redux[4] and React Router[5] are respective examples of such libraries.


  1. "MongoDB Download Center". MongoDB. Archived from the original on August 14, 2018. Retrieved August 14, 2018.
  2. "Express.js home page".
  3. "React - A JavaScript library for building user interfaces". React. Retrieved 7 April 2018.
  4. "Redux · A Predictable State Container for JS Apps". Retrieved 2019-10-23.
  5. "React Router: Declarative Routing for React". ReactRouterWebsite. Retrieved 2019-10-23.

This article "MERN (solution stack)" is from Wikipedia. The list of its authors can be seen in its historical. Articles taken from Draft Namespace on Wikipedia could be accessed on Wikipedia's Draft Namespace.