Yeoman generator for hapijs endpoints using some of our patterns
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!
Install dependencies
npm install
Link as a global module
npm link
Make changes and tests them using yo command
yo abk-hapi
npm run eslint
npm test
npm run coverage