Design first API development in Hapi