Marcus

Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.


hapi — Reply Custom View for Failed Validations

Validations are built into hapi’s core and the framework has first class support for Joi, the schema validation framework. The overall validation setup for individual routes is very convenient and expressive, you’ll see that in a minute. The default behavior for failed validations is to send proper error …

Continue Reading

hapi — Validate Request Headers With Joi

In an advanced development state, you want to make use of request headers and because you don’t blindly trust the incoming values, you also apply validation rules. With hapi, you’ve a framework that has validation built into its core and makes it easy to define rules for request …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.