Skip to content

Slush generator for creating the foundation of a HapiJS service/webapp. With the original GEUT style.

Notifications You must be signed in to change notification settings

geut/slush-hapi-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slush-hapi-service

Slush generator for creating the foundation of a HapiJS service/webapp. With the original GEUT style.


Install

$ npm i -g slush-hapí-service

Usage

Create your project folder:

mkdir my_hapi_service && cd my_hapi_service

And then, run the slush generator inside your project folder:

slush hapi-service

That's all. The generator will ask some questions, like if you are using a prefix for your projects (scopes are better, but you know).

What's inside?

The generated project contains:

  • .eslintrc.js --> contains the hapi styleguide eslint rules
  • Dependencies:
    • vision --> Template rendering support (plugin)
    • blipp --> Shows plugin routes in console
    • handlebars --> A simple template engine
    • boom --> HTTP error codes
    • confidence --> Project configuration management

Project Structure

├── config
│   ├── demo_config
│   ├── general.js
│   ├── hapi_config
│   └── index.js
├── index.js
├── methods
│   └── index.js
├── plugins
│   └── index.js
├── routes
│   ├── demo
│   └── index.js
├── views
├── test
│   └── index.js

:D

About

Slush generator for creating the foundation of a HapiJS service/webapp. With the original GEUT style.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published