Stepup ENV¶
Steps to create a node application skeleton:
$ npm install -g yo
$ npm install -g generator-node-api-boilerplate
$ yo node-api-boilerplate
Now the app was created and start running in your system
Usage¶
start the express server:
$ npm start
Test The unit testcases:
$ npm test
clean build folder and compile the source code:
$ npm run start:dev
find Lint issues in source code:
$ npm run lint
find Lint issues in test cases:
$ npm run lint:test
Note
npm run lint:test:fix
and npm run lint:fix
used to fix the lint errors