0.6.1 • Published 10 years ago

generator-hapi-service v0.6.1

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

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

Usage

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

Controllers

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

0.6.1

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago