Articles tagged in: hapi



hapi — Query Parameter Validation With Joi

As an application developer, you should never trust the data provided by users. At any possible input! That doesn’t only apply for request payload send within the request body, but also for query parameters. This guide shows you how to apply query parameter validation for a given route in …

Continue Reading

hapi — Report Errors to Sentry

On November 1st, 2016 we’ve launched the Future Studio University —a membership that lets you access exclusive content— and also added automated error tracking to our platform. There’s a speaking called „you don’t know what you don’t know“ and that’s exactly what happened for us: …

Continue Reading

hapi — Ignore Trailing Slashes on Route Paths

Future Studio started with just a blog. We’ve used Ghost to write, publish and manage all the tutorials. While extending the blog to a comprehensive learning platform, we chose hapi as the foundational framework. While moving the functionality to show tutorials from Ghost to our own hapi server, we’ …

Continue Reading

hapi — Become a Better Developer in 2017

For us developers is an unwritten law to educate ourselves and keep track of new tools and technologies. It’s essential to continuously learn and make personal progress. You don’t want to be that guy who’s stuck in the 90’s with tools that are outdated since years! …

Continue Reading

hapi — Access Request Headers

Handling request headers isn’t a use case that comes to mind immediately when thinking through the development process of your app. You might think of routes, requests, appropriate responses and the design of your views. And at some point, you’re in a more advanced development stage and see …

Continue Reading

hapi — How to Set Response Status Code

Within previous tutorials throughout this hapi series, you’ve seen a lot functionality related to the server itself, requests and authentication. This guide is the first one geared towards responses and precisely shows you how to set the response status code that follows the RFC. Before diving into the details, …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.