Scaffolding the application

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.

  1. 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.

  2. Type the yo meanjs command and follow the instructions and fill in the answers; the text in light blue is the answer that ...

Get Learning Single-page Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.