A hapi-based nodejs web server enterprise-ready project boilerplate.
Comes with these opinions out-of-the-box:
- hapijs
- Web framework
- standardjs
- Linting
- browserify
- Clientside javascript
- pm2
- Process manager
- handlebars
- Template engine
- npm-scripts
- Build tool
- Production-ready & enterprise quality
- Keep it Simple - hapi.js is super simple but elegant and powerful too
- Only intended as a baseline, nothing is mandated, only recommended
- node.js 4.x.x
- npm
- pm2 installed globally
-
$ git clone https://github.com/DEFRA/rod-licence-prototype
-
$ cd rod-licence-prototype
-
Install dependencies
-
$ npm install
-
Build
-
$ npm run build
-
Start server
-
$ node index