Simple Hapi.js project to build RESTful API's. The main goal of this project is to be built on top of native ES6.
Batteries included:
- Hapi.js
- Lab
- Eslint
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
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
Ensure the quality of your code with eslint.
$ npm run lint
If you have ideas or find an error feel free to submit a PR.
Licensed under the MIT license.