Pager Health interview question

Coding exercise using Hapi