You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

generator-hapi-apollo

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-hapi-apollo

Yeoman generator for scaffolding hapi apps and plugins

8.0.310
latest
Version published
Maintainers
1
Created

generator-hapi-apollo

Yeoman generator for scaffolding hapi apps and plugins.

Build Status Dependency Status devDependency Status

Install

$ npm install -g yo
$ npm install -g generator-hapi-apollo

Usage

App with MongoDB generator (api and web combo)

$ yo hapi-apollo:app-mongo hapi-es-club
$ cd hapi-fan-club
$ npm install
$ npm update --save
$ npm test
$ npm start

App generator (api and web combo)

$ yo hapi-apollo:app hapi-es-club
$ cd hapi-fan-club
$ npm install
$ npm update --save
$ npm test
$ npm start

Api generator

$ yo hapi-apollo:api hapi-fan-serve
$ cd hapi-fan-serve
$ npm install
$ npm update --save
$ npm test
$ npm start

Web generator

$ yo hapi-apollo:web hapi-fan-site
$ cd hapi-fan-site
$ npm install
$ npm update --save
$ npm test
$ npm start

Plugin generator

$ yo hapi-apollo:plugin hapi-space-madness
$ cd hapi-space-madness
$ npm install
$ npm update --save
$ npm test

Questions and contributing

Any issues or questions (no matter how basic), open an issue. Please take the initiative to include basic debugging information like operating system and relevant version details such as:

$ npm version

# { 'generator-hapi-apollo': '5.0.0',
#   npm: '2.14.7',
#   ares: '1.10.1-DEV',
#   http_parser: '2.5.0',
#   icu: '56.1',
#   modules: '46',
#   node: '4.2.2',
#   openssl: '1.0.2d',
#   uv: '1.7.5',
#   v8: '4.5.103.35',
#   zlib: '1.2.8' }

Contributions are welcome. Your code should:

If you're changing something non-trivial, you may want to submit an issue first.

Keep it covered

:+1: All the generators include 100% test coverage.

License

MIT

Don't forget

What you create with generator-hapi-apollo is more important than generator-hapi-apollo.

FAQs

Package last updated on 01 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts