ExpressJS, NodeJS framework!!
Ada Kaminkure edited this page Apr 26, 2017
·
1 revision
npm install -g express-generator
express <project_name>
example
express SynExpress --hbs --view hbs --css sass --git
description
--hbs is support handlebars template
--view hbs is choose handlebars as view template
--css sass is set using css preprocessing to sass
--git is add .gitignore to project
First method
node bin/www
Second method (run server by nodemon)
- Install nodmon for development server
npm install -g nodemon
- Run server by...
nodemon bin/ww
Specific PORT by
PORT= nodemon bin/www
Editor::Ada de Sions