A simple Hapi.js boilerplate starter template.
- Install NVM or node.js directly
- Update your npm:
npm install npm -g
. Usesudo
if you're not using NVM. - Install required project modules (make sure to run this command in the directory where package.json is located at):
npm install
- Run the web service:
node index.js
- Visit this URL:
https://localhost:8000/
- Done!
- This project uses the Google ES6 Javascript Style Guide
- There's also jshintrc file for enforcing Airbnb Javascript guide.
- Install lab:
npm install -g lab
orsudo npm install -g lab
if you're running into permission issues. - Run command
npm test