/es6-hapijs

Another boring Hapi.js boilerplate written on ES6

Primary LanguageJavaScript

Another boring Hapijs Boilerplate

Simple Hapi.js project to build RESTful API's. The main goal of this project is to be built on top of native ES6.

What's inside

Batteries included:

  • Hapi.js
  • Lab
  • Eslint

Setup

Clone the repository and install the dependencies.

$ git clone https://github.com/abiee/es6-hapijs.git my-project
$ cd my-project
$ npm install
$ npm start

Testing

Two options exists to run tests, the first one is for development process and aims to practice Test Driven Development.

$ npm run tdd

The other option to just run tests once.

$ npm test

Linting

Ensure the quality of your code with eslint.

$ npm run lint

Contribution

If you have ideas or find an error feel free to submit a PR.

Licence

Licensed under the MIT license.