We will use the same version of the express-generator
that we used in Chapter 4, Don't Take a Photograph, Make it - An App for Photographers. This time, we do not need any additional modules to complete our task:
Create a folder called
chapter05
.Open your terminal/shell within the
chapter05
folder and type the following command:yo express
Tip
Note that we already installed the
generator-express
in chapter 04, Don't Take a Photograph, Make it - An App for Photographers.Now, fill in the questions in this order:
Choose
N
: we have already created a folderChoose
MVC
: for the application typeChoose
Swig
: for the template engineChoose
None
: for the CSS preprocessorChoose
MongoDb
: for the databaseChoose
Gulp
: for LiveReload and other stuff