MEAN Stack Introduction


Wikipedia describes the MEAN stack this way: MEAN is a free and open-source JavaScript software stack for building dynamic web sites and web applications. The MEAN stack makes use of MongoDB, Express.js, Angular, and Node.js. Because all components of the MEAN stack support programs are written in JavaScript, MEAN applications can be written in one language for both server-side and client-side execution environments. MEAN is a full-stack development toolkit.

The book Getting MEAN with Mongo, Express, Angular and Node by Simon Holmes published by Manning Publication Co. says the following in their “about this book” section: JavaScript has come of age. Building an entire web application from front to back with just one language is now possible, using JavaScript. The MEAN stack is comprised of the best-of-breed technologies in this arena. You’ve got MongoDB for the database, Express for the server-side web-application framework, AngularJS for the client-side framework, and Node for the server-side platform. You can read this book at allitebooks.com.

Here is an article I found called Creating a Single Page Todo App with Node and Angular. It may be helpful to you. You will need some background information to understand it.

Here is an article on how to install the MEAN stack on Windows 10, written by Jason Watmore.

So you can have JavaScript in both the front-end and back-end.

Here is what hackhands.com says about the MEAN stack:

These are some of the advantages of a MEAN stack:

  • Single language is used in the whole application
  • Support for the MVC pattern
  • JSON is used for transfering data
  • Node.js’s huge module library
  • Open source so you can tweak it to your preferences if you’re an experienced user

mean1
mean-diagram-3

Order of Installation

In what order would you install the MEAN stack? MongoDB, Node.js, Express and then Angular.js is one way to go. Skip MongoDB if you don’t plan to use it. Think of it as separate. Start with Node.js first. Getting started on the mean stack requires installation. Here is a article that walks you through.

Main Points

  • Node.js is your like operating system
  • Express is your web server
  • Angular.js is your programming language
  • MongoDB is your database

Leave a comment

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