Nincompoops Producing Methane

    generator-abk-hapi

    2.0.0 • Public • Published

    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

    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
    

    Install

    npm i generator-abk-hapi

    DownloadsWeekly Downloads

    5

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • erivero