So what is the MEAN stack?
MongoDB is a schema-less NoSQL database system. MongoDB saves data in binary JSON format which makes it easier to pass data between client and server.
Express is lightweight framework used to build web applications in Node. It provides a number of robust features for building single and multi page web application.
Advantages of the MEAN Stack
One language for everything
Developers are able to focus on using only one programming language for every aspect of any task required to be carried out.Â For example, querying and the storing of data in MongoDB, is carried out by making use of JSON objects, in fact data is persisted in MongoDB by making use of JSON objects.
Runs anywhere any device
It's almost free!
As they say in life there is no such thing as a free lunch and this is especially true in the world of software development. For the most part, the tools and frameworks used to develop MEAN stack applications are Free of charge open source applications. A developer will be able to set up a workstation to carry out software development work almost entirely for free. Hardware probably being their only expense.
When it comes to deploying MEAN stack applications out to production costs are also significantly reduced, due to the fact most vendors make use of Linux operating systems and therefore cost is also significantly reduced.
Built for cloud
Using the MEAN stack as a platform, enables developers to develop for the cloud straight out the gate.Â There are literally 100's of vendors available to manage the hosting of the entire application or even just "rent" specific parts, for example Database As A Service, providers like compose.io orÂ mongolab.com
By making use of powerful platform hosting services like Heroku enables developers and application vendors to easily and quickly scale their application according to demand.
MEAN stack frameworks
There are a number of MEAN stack frameworks available, which will assist in rapid development and adoption of MEAN stack development. My personal favourite is MEAN.js