Read the whole tutorial, Hapi vs Express on my blog.
Intro to Hapi JS via a comparison with Express JS
The code examples are organized into specific features, and start with a filename to mark the sequence of the examples. It's best to review them in order, comparing Hapi to Express.
##Prerequisites NodeJS Installed (v0.10.26 at time of writing)
##Install Instructions
$ git clone https://github.com/kd7yva/hapi-vs-express.git
$ cd hapi-vs-express
Then install the code examples' dependecies.
$ npm install
##Run the Examples Finally, run any of the examples using node from the command prompt, i.e.
node 05-validating_requests-hapi.js