Code Robust APIs with the Hapi.js Server Framework for Node.js

Code Robust APIs with the Hapi.js Server Framework for Node.js

Ryan Chenkie
Ryan Chenkie
Auth0
2 hours, 53 minutes

Become a Master

This course and others like it are available as part of our Frontend Masters video subscription.

Watch Free Preview Join Frontend Masters
Node.js remains to be a very popular choice for building data APIs. While Express.js is a common framework choice when using Node, it does have some shortcomings which can lead to lengthy development cycles and hard-to-debug code. Hapi.js is an alternative that comes with a rich ecosystem of accompanying libraries and plugins. Like many other developers, you’ll probably find that building apps, APIs, and services with Hapi.js is practical, smooth, and sensible. Learn how to build a data API with Hapi.js from the ground up. You’ll learn everything from how to serve a basic API to how to use advanced Hapi.js features, including the ecosystem of libraries and plugins that it comes with.
Published: May 10, 2017

Table of Contents

HapiJS

Routes and Route Handlers

Routes Prerequisiites

Error Handling

Validation

HapiJS Plugins

Wrapping Up