Cloud

Mean Stack

MEAN, a free, open-source, full-stack solution for MEAN applications. MEAN combines MongoDB, Express.js, AngularJS, and Node.js into a single, full­stack solution for JavaScript development. MEAN stack is referred to as a collection of Javascript technologies used to develop the web application. From the client to server to database, everything is based on Javascript. MEAN is a full-stack JavaScript framework ideal for building dynamic websites and applications. MEAN is a full-stack development toolkit used.

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.
3) Angular JS is Javascript framework
4) Node.js is server side Javascript, Execution runtime.

MongoDB

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 JS

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

Angular JS

Angular JS is open source framework. It is maintained by Google. AngularJS provides developers an options to write client side applications using JavaScript in a clean Model View Controller (MVC) way. It is used in Single Page Application (SPA) projects. AngularJS allows us to use HTML as a template language. Therefore, you can extend HTML’s syntax to express the components of your application. Angular features like dependency injection and data binding eliminate plenty of code that you need to write.

Node.js

Node.js is server side scripting language. It is used for realtime web pplications, video-streaming, Newtwork applications, etc. It is baesd on google v8 engine. Node.js is fast, scalable, asynchronous and non-blocking ,that’s why we used node.js. Node.js single threaded javascript.Node.js uses a non-blocking and event-driven I/O model.This makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.Node.js runtime on Microsoft Windows, OS X, and Linux.

MEAN Stack Architecture

1. When the client makes any request it is firstly processed by the AngularJS. AngularJS is a client-side language in JavaScript.
2. After that, the Request enters in phase 2 which is NodeJS. NodeJS is a server side language in JavaScript.
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.