generator-abk-hapi
v2.0.0
Published
yeoman generator for new hapijs endpoints
Downloads
2
Readme
generator-abk-hapi
Yeoman generator for hapijs endpoints using some of our patterns
Usage
Install the required tools
npm install yo -g
Install generator-abk-hapi
npm install generator-abk-hapi -g
Open a console in the root of your project
yo abk-hapi
Answer the 4 questions (folder, name, http method and path) and that's it!
Development
Install dependencies
npm install
Link as a global module
npm link
Make changes and tests them using yo command
yo abk-hapi
Before push changes run eslint
npm run eslint
Testing
npm test
Code Coverage
npm run coverage