What is Mean Stack?
“Success is the result of perfection, hard work, learning from failure, loyalty, and persistence”
MEAN is comprised of four different technologies:
1) MongoDB express schemaless NoSQL database.
2) Express JS is framework used to build web applications in Node.
MongoDB is schemaless NoSQL database system. It saves data in binary JSON format which makes it easier to pass data between cline and server.Mongo DB is database system where you need to manage large sized tables with millions of data. MongoDB is written in C++. MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It is an open source framework developed and maintained by the Node.js foundation.Express provides a minimal interface to build our applications. It is flexible as there are numerous modules available on NPM, which can be directly plugged into Express.
MEAN Stack Architecture
3. After that Request enters in phase 3 which is ExpressJs it makes the request to the database.
4. After that MongoDB retrieve the data and return the response to the ExpressJs.