Creating the baseline applications
In this chapter, we will use a slightly modified version of the
express-generator that we used in previous chapters.
This generator is called
generator-express; it is heavily based on
express generator, but with a few more features.
Here are the steps for our installation:
- Open the terminal/shell and type:
npm install -g generator-express
- Create a folder called
- Open your terminal/shell within the
chapter04folder and type the following command:
Now, fill the questions in this order:
N, we already created the project folder in step 2
MVCfor application type
Swigfor template engine
Nonefor CSS preprocessor
Nonefor database (later in the chapter, we will set ...