Yeoman generator for hapi.js services
Switch branches/tags
Nothing to show
Clone or download
Latest commit b169f8d Jun 17, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update variable name Jun 17, 2015
config Remove reference to Norm here Jun 14, 2015
controller Formatting Jun 17, 2015
model Use lodash for capitalization Jun 17, 2015
test Add health check endpoint for load balancers to verify service availa… Jun 17, 2015
.gitignore Start Feb 11, 2015
.travis.yml Add CI config Jun 14, 2015 Update README Jun 17, 2015
package.json Bump version Jun 17, 2015

hapijs Yeoman Generator Build Status

This generator helps you quickly scaffold a production-ready hapijs service. Code generated by this project has been heavily inspired by hapi University and the hapijs style guide.

Maintained by: michaelryancaputo and thody


New Project

  • Run npm install -g generator-hapi-service.
  • From your project directory, run yo hapi-service
  • Follow the prompts

Starting your service

npm start

Testing your service

npm test


Generate a new controller (and test) called usersController.js with an example route configured: yo hapi-service:controller users

Mongoose Models

Generate a new Mongoose model called userModel.js: yo hapi-service:model user