Code Robust APIs with the Hapi.js Server Framework for Node.js
Course on Master.dev by Ryan Chenkie
- 2 h 46 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 20
- Lessons
- May 2017
- Published10 May 2017
About this course
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.
What it covers
- 01
HapiJS
- Course Introduction
- Hapi.js Introduction
- Challenge 1: Create a Simple App
- Challenge 1: Solution
- 02
Routes and Route Handlers
- Rest API Principles
- Challenge 2: Setting Up Routes
- Challenge 2: Solution
- 03
Routes Prerequisiites
- Prerequisites
- Challenge 3: Creating Route Prerequisites
- Challenge 3: Solution
- 04
Error Handling
- Boom Library
- Challenge 4: Return Errors
- Challenge 4: Solution
- 05
Validation
- Joi Module
- Challenge 5: Validating Routes
- Challenge 5: Solution
- 06
HapiJS Plugins
- Plugin Ecosystem
- Challenge 6: Using Plugins
- Challenge 6: Solution
- 07
Wrapping Up
- Q&A
Similar Node.js courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.