Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thody/generator-hapi-service
Hapi API Yeoman Generator
https://github.com/thody/generator-hapi-service
Last synced: 6 days ago
JSON representation
Hapi API Yeoman Generator
- Host: GitHub
- URL: https://github.com/thody/generator-hapi-service
- Owner: thody
- Created: 2015-03-01T13:44:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-10T11:57:32.000Z (over 9 years ago)
- Last Synced: 2023-03-24T07:23:36.955Z (almost 2 years ago)
- Language: JavaScript
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Quickly scaffold a production-ready [hapi.js](http://hapijs.com) service.
Maintained by: [michaelryancaputo](http://www.github.com/michaelryancaputo) and [thody](http://www.github.com/thody)
## System Requirements
* Yeoman 1.4.5
* Npm 2.1.17## Usage
### New Project
* Run `npm install -g generator-hapi-service`.
* From your project directory, run `yo hapi-service`
* Follow the prompts### Controllers
Generate a new controller in your current working directory called `UsersController.js` with an example route configured: `yo hapi-service:controller Users`
Generate a controller test harness in your current working directory called `UsersControllerTests.js`: `yo hapi-service:controllerTest Users`