Saturday, October 20, 2018

What is MEAN stack?

What is MEAN stack

 MEAN stands for Mongo,Express,Angular,and Node. In software developing there are two main category parts Front End and Back End that is  depend on Client side and Server side. MEAN stack has all the technologies for develop both server side and client side.

  • MongoDB - Mongo is not like traditional database. The nosql term comes from Mongodb. It has dynamic schema and much more better and faster for some applications. Most of the real world applications like Dolby,e-bay,Linkedin are using Mongodb. Developers who familier with Javascript and Json are using Mongodb.                                                                                  
  • Issues found when installing the Mongodb software.                                                                      After download and install the Mongodb to pc and try to run our mongo server using the command "mongod" in command prompt. It shows an error "The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer.Try reinstalling the program to fix this problem." 
  • How to fix?                                                                                                                                       First of all check under Program files and features if there is C++ 2015 Redistributable software exist or not. If it is their uninstall it. Then check the windows update. If it is out of date update it and resart the computer. Then reinstall the C++ 2015 Redistributable again. Then try to run the command mongod for run our mongo server. It worked.
Express JS

Express.Js is a Node.js platform. Most of the time JavaScript can be used inside the web browsers. But the Node.js is a platform that allows JavaScript to be used outside the web browsers. We can create the server and server side code for an application using JavaScript. Express.js helps to organize our application routing and use any templating solution with minimal effort.

How to install expressjs to your project.

1. Install the node.js to your pc first.
2.Create a directory for create your application.
3.Open the command prompt their inside the directory and type “npm init”
4.Then it will create packege.json file for your application.
5. Now type “npm install express –save” and hit enter.
6. Then it will save in the  dependencies list

Angular JS


Angular is a front end JavaScript framework. We can create dynamic web application to run on the web browser. It is more suitable for single page applications.The other main thing is the AngularJS is extend from HTML. There for we can get all the behaviors of HTML when we using Angular as well. This extend is happen by through ng-directives. There are three main directives.
1. ng-app
               When we use ng-app inside the HTML page, it tells it defines an AngularJS application.
2. ng-model
                HTML controllers such as selections,text areas, inputs are binds to application data using ng-model.
3. ng-route
                ng-bind will binds the application data to HTML view.

There are more AngularJS directives.
ex:-ng-init, ng-repeat

No comments:

Post a Comment