KlausTrainer/couch_email_auth — pull request #26 by robertkowalski (2014-10-27 21:22:48+00:00)
Title: Use Hapi

let's use hapi js, while changing the code i noticed some sweet
stuff hapi does for us out of the box:

- taking care of bodyparsing & query parameter parsing
- taking care of validation
- taking care of routing

I had to add some custom code to use our old error messages,
however if we are fine with the one from hapi, I am happy to
change that.

I deleted one test because it does not make sense for us now,
as the hapi validator takes care of it for us.