new-hapi-project

0.0.4 • Public • Published

'new-hapi-project' - Generated with the Hapi-Norm Yeoman Generator

Hapi Api

Generated by: Normative Design

Keywords: Hapi, Hapijs

This package uses:

  • Gulp
  • Hapi
  • Lab for testing
  • Mongoose (optional)

Get things running

  • The default gulp task will run tests and start nodemon.
  • gulp test wlll run tests
  • gulp serve will start nodemon

Controller Sub-Generator

To create a new route using the sub generator use the command: yo hapi-norm:controller 'NAME'. This will create a basic restful route for the NAME with intial tests for those routes.

Model Sub-Generator

To create a new model using the sub generator use the command: yo hapi-norm:model 'NAME'. This creates a basic model for NAME.

Config Sub-Generator

To create a new environment configuration using the sub generator, use the command: yo hapi-norm:config 'NAME'. This creates a basic configuration environment for NAME.

/new-hapi-project/

    Package Sidebar

    Install

    npm i new-hapi-project

    Weekly Downloads

    5

    Version

    0.0.4

    License

    none

    Last publish

    Collaborators

    • flashpunk