2.0.0 • Published 10 years ago
generator-abk-hapi v2.0.0
generator-abk-hapi
Yeoman generator for hapijs endpoints using some of our patterns
Usage
Install the required tools
npm install yo -gInstall generator-abk-hapi
npm install generator-abk-hapi -gOpen a console in the root of your project
yo abk-hapiAnswer the 4 questions (folder, name, http method and path) and that's it!

Development
Install dependencies
npm installLink as a global module
npm linkMake changes and tests them using yo command
yo abk-hapiBefore push changes run eslint
npm run eslintTesting
npm testCode Coverage
npm run coverage