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!
![abk-hapi demo](https://github.com/eperedo/generator-abk-hapi/raw/HEAD/assets/images/demo-folder.png)
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