A demo on how an Express app works and its structure.
- Install the
express-generator
globally,npm i -g express-generator
- Scaffold a new app,
express <app-name>
- To scaffold and use Handlebars instead of the Jade template engine,
express -v hbs <app-name>
- To run the start the server to view the app on port 3000,
npm run start