As already mentioned before, we use as tools as possible that streamline our development process of web applications.
We will start from scratch, using a Yeoman generator called MEAN.JS.
Let's begin; remember that you can download the sample files and follow our evolution. However, I strongly recommend that you follow refactoring step by step for a better understanding.
Create a folder called
meanjs-generator
, open the terminal inside it, and type:npm install -g generator-meanjs
The
-g
key means general, and you'll need to be the administrator of your machine. Now, we have what we need: the generator.Type the
yo meanjs
command and follow the instructions and fill in the answers; the text in light blue is the answer that you must complete, as shown in the following screenshot:If you accompany the process on your terminal, you can see that the Bower also already executed these commands and installed all the AngularJS scripts.