Using hapi to build APIs is kind of straight forward. By default, hapi allows to reply different types of content. If you’re sending a JavaScript object as a response, hapi will create a valid JSON string out of it. Additionally, hapi will only return actual values and functions won’t be serialized to JSON. Find the tutorial for an easy read here: reply JSON in hapi ► https://futurestud.io/tutorials/hapi-how-to-reply-a-request-with-json Watch the video on renderering views in hapi ►https://www.youtube.com/watch?v=dY8RfggaRhA Watch the video on setting a custom response status code in hapi ► https://www.youtube.com/watch?v=POUbGpXxnLk Watch the playlist with all hapi videos here: ► https://www.youtube.com/watch?v=-o6IxDy3pIk&list=PLpUMhvC6l7AMXP2bWhHF6UTZGseIkWUG_ ---------------------------------------- Future Studio is helping 5,000+ users daily to solve Android and Node.js problems with 330+ written tutorials and videos. We’re on a mission to provide new in-depth content every week. Checkout 330+ technical in-depth tutorials: ► https://futurestud.io Subscribe for two new videos every week: ► https://www.youtube.com/c/FutureStudio?sub_confirmation=1 ---------------------------------------- Follow us on social media to get updates on new content: ► https://twitter.com/futurestud_io ► https://www.facebook.com/FutureStudioUniversity ► https://plus.google.com/+FutureStudioUniversity ----------------------------------------