What is a full stack in JavaScript

MEAN (solution stack) - MEAN (solution stack)

JavaScript software stack
Common logo to represent MEAN stacks.

MEAN (MongoDB, Express.js, AngularJS (or Angular), and Node.js) is a free, open source JavaScript software stack for building dynamic websites and web applications.

Since all components of the MEAN stack support programs written in JavaScript, MEAN applications for server-side and client-side execution environments can be written in one language.

Although the components of the MEAN stack are often directly compared to other popular web development stacks such as the LAMP stack, they are higher-level, including a web application presentation layer and no operating system layer.

The acronym MEAN was coined by Valeri Karpov. He introduced the term in a blog post in 2013 and the logo concept, originally created by Austin Anderson for the original MEAN stack LinkedIn group, is a compilation of the first letter of each component of the MEAN acronym.

Software components


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

The role of the database in the MEAN stack is very often performed by MongoDB, as the use of JSON-like documents for interacting with data, in contrast to the row / column model, enables good integration with the other (JavaScript-based) components of the Stack.


Express.js (also known as Express) is a modular web application framework package for Node.js.

While Express can act as an internet connected web server and even supports SSL / TLS, it is often used in conjunction with a reverse proxy such as NGINX or Apache for performance reasons.

Angles and alternatives

Typically, data is retrieved using Ajax techniques and rendered in the client-side browser by a client-side application framework. However, because the stack is usually based entirely on JavaScript in some implementations of the stack, the rendering is done on the server side, where the rendering is done from the home page which can be offloaded to a server so that the initial data is prefetched before loading into the user's browser can.

Angular (MEAN), React (MERN), and Vue.js (MEVN) are the most popular among other stacked web application frameworks, and a number of variations of the traditional MEAN stack are available by replacing the web application framework with similar frameworks, or even Remove this component of the stack as a whole (MEN).


Node.js is the application runtime on which the MEAN stack is executed.

The use of Node.js, which is supposed to represent a "JavaScript Everywhere" paradigm, is an integral part of the MEAN stack based on this concept.

See also


further reading

  • Haviv, Amos Q. (2014). MEAN Web Development: Master real-time web application development using a medium combination of MongoDB, Express, Angular JS, and Node.js . Birmingham, UK: Packt Publishing. ISBN.
  • Holmes, Simon (2019). MEAN with Mongo, Express, Angular and Node, second edition . Shelter Island, NY: Manning Publishing. ISBN.
  • Holmes, Simon (2015). MEAN with Mongo, Express, AngularJs and Node . Shelter Island, NY: Manning Publishing. ISBN.
  • Dickey, Jeff (2014). Write modern web apps with the MEAN stack: Mongo, Express, AngularJS and Node.js (develop and design) . San Francisco, California: Peachpit Press. ISBN.

External links