Express Generator is a command-line tool used to create an expressjs generator application automatically.
Think of it like a project template/scaffolding tool.
Instead of creating the app structure manually, create it automatically.
alfa-app/
├── app.js
├── bin/
├── public/
├── routes/
├── views/
├── package.json
└── …
you can let Express Generator create the structure for you.
First, install the generator as follows: npm install -g express-generator.
Then use the command to generate and alpha-app
express alpha-app
alpha-app/
├── app.js
├── bin/
│ └── www
├── public/
├── routes/
│ ├── index.js
│ └── users.js
├── views/
├── package.json
└── …
