Step 1: install
1 | $ npm install -g express-generator |
Step 2: start the project
1 2 3 4 5 6 | $ mkdir mydir $ cd mydir $ express $ express --view=pug myapp (or, this will set view to pug) $ npm install // install dependencies $ DEBUG=myapp:* npm start // start the server |
Step 3: check the server, localhost:3000