ExpressJS, NodeJS framework!! - adadesions/SynReactNative GitHub Wiki

ExpressJS

Installation

npm install -g express-generator


Generata Project via cli

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


Run server

First method

node bin/www

Second method (run server by nodemon)

  1. Install nodmon for development server

npm install -g nodemon

  1. Run server by...

nodemon bin/ww

Specific PORT by

PORT= nodemon bin/www


⚠️ **GitHub.com Fallback** ⚠️