Creating the baseline application
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
- Open your terminal/shell within the
chapter05folder and type the following command:
Note that we already installed the
generator-expressin chapter 04, Don't Take a Photograph, Make it - An App for Photographers.
- Now, fill in the questions in this order:
N: we have already created a folder
MVC: for the application type
Swig: for the template engine
None: for the CSS preprocessor
MongoDb: for the database
Gulp: for LiveReload ...