An example of a restful api built using hapi.js