All Categories

Introduction to the MEAN Stack

Mean stands for MongoDB, Express, AngularJS, Node.js.

MEAN is used to build modern web applications. In this blog, we are going to get a brief introduction on MEAN and how to install it in your system.

As the acronym of MEAN is MongoDB, Node.js, Express, and AngularJS, it includes all the 4 technologies combined into it. It is designed to give a quick and organized way to develop MEAN based web apps, websites, web services and APIs.

Using MEAN, developers can set up their work with a set of popular tools, which were carefully combined, so the developers need not concentrate on never ending work of system administration, package management, libraries, etc. Instead, they can concentrate on development completely.

Let us now try to compare average web app with Mean.io stack. An average modern app is composed of many different libraries which can be maintained on GitHub or any other repository. Each library will have its own development, its own bugs and will need special care every time and thus becomes the time-consuming task for developers.

When we look into MEAN, it is constantly maintained to make sure that all the different components work well together and Mean.io team will take care of all the time-consuming task.

Now let’s look into individual technologies included in MEAN.



MongoDB:

The first question is why MongoDB?

It’s simple and is used for storing database. MongoDB is a cross-platform document-oriented database classified as NoSQL. MongoDB acts as a database that stores data for your web application. MongoDB provides some interesting features for your application and architecture that makes it popular. The goal is to create a new breed between traditional database features and the high performance of NoSQL stores. MongoDB supports rich query to fetch data from the database. It supports Server-side JavaScript execution which allows any developer to use a single programming language for both client and server side code. MongoDB is easy to install.

Follow the blog given in the link to install MongoDB in Windows – https://acadgild.com/blog/steps-to-setup-mongodb-in-windows/

Express:

Express is one the most popular and widely used web frameworks in Node.js development zone. Express is a minimal web server built on Node.js that provides all the essential functionality required for delivering web applications to the browser and mobile devices. ExpressJS allows you to handle Routes, Server, and I/O stuff very easily. Simple command to install Express is
$ npm install express

AngularJS:

AngularJS is a JavaScript framework. It is open source web application framework mainly maintained by Google. AngularJS can be added to a HTML page with a <script> tag. It extends HTML attributes with Directives, and binds data to HTML with Expressions.

AngularJS course details

Node.js:

Node.js is a cross-platform, open-source runtime environment used for developing server-side and networking applications. Node.js applications are written using JavaScript and can be run within the Node.js runtime. It provides a rich library of JavaScript modules.

To download and Install Node.js. You can follow this blog – Node.js Tutorial: Step-by-Step Guide For Getting Started

INSTALLING MEAN

To start working with MEAN, you need to install mean-cli package from NPM.

So now the question is – What is CLI? Or What does CLI mean?

CLI refers to command line interface. It is user interface required for a computer’s operating system or for a web application in which the user has to respond to visual prompt by using a command. The system will receive a response back from the system.

Let’s now look into MEAN CLI

Mean CLI is also user interface i.e. command line interface which is used to manage MEAN apps. It provides many useful tools to create an interactive MEAN web application
To know more about Mean CLI, please go through this link– https://github.com/linnovate/mean-cli

Conclusion

SO, that’s it. We have installed all the required parts of MEAN. One of the important usages of MEAN.io is the transformation of existing websites which are built using CMS into a rapid and efficient API. MEAN.io allows you to make changes to your web application which might not have seen any changes since decades. MEAN is used for growing many websites and web applications.

Hope this blog was informative enough. If you still have any queries related to MEAN, feel free to write us at [email protected] or keep visiting www.acadgild.com for more updates on the courses

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

Close