Expressjs

Express Generator

The ExpressJS generator is really handy for quickly standing up the scaffold of a basic web application. 

To quickly get started, see the Getting Started guide.

Quick launch

1. Make sure the Express generator is installed:

sudo npm install express-generator -g

2. Run the generator (note, the default view engine is Pug (formerly, Jade).

 express --view=jade appname

3. Change into the directory created for the app, e.g:

cd appname

4. Install the dependencies in the app directory

npm install

5. Run the app.js file with node or nodemon