Skip to content
JS

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

Course on Master.dev by Ryan Chenkie

View on Master.dev (opens in a new tab)
2 h 46 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
20
Lessons
May 2017
Published10 May 2017

About this course

Description from Master.dev

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

20 lessons
  1. 01

    HapiJS

    1. Course Introduction
    2. Hapi.js Introduction
    3. Challenge 1: Create a Simple App
    4. Challenge 1: Solution
  2. 02

    Routes and Route Handlers

    1. Rest API Principles
    2. Challenge 2: Setting Up Routes
    3. Challenge 2: Solution
  3. 03

    Routes Prerequisiites

    1. Prerequisites
    2. Challenge 3: Creating Route Prerequisites
    3. Challenge 3: Solution
  4. 04

    Error Handling

    1. Boom Library
    2. Challenge 4: Return Errors
    3. Challenge 4: Solution
  5. 05

    Validation

    1. Joi Module
    2. Challenge 5: Validating Routes
    3. Challenge 5: Solution
  6. 06

    HapiJS Plugins

    1. Plugin Ecosystem
    2. Challenge 6: Using Plugins
    3. Challenge 6: Solution
  7. 07

    Wrapping Up

    1. Q&A

Similar Node.js courses

  1. Nodebots / Hardware

    Master.dev · Steve Kinney · 31 lessons · Aug 2018

    2 h 56 minSubscription
    Master.dev31Aug 2018
  2. Learn Node.js: Fundamentals

    Codecademy · 2 lessons · Dec 2022

    Beginner3 h
    Codecademy2Dec 2022
  3. Networking and Streams

    Master.dev · James Halliday · 41 lessons · Sept 2017

    3 h 8 minSubscription
    Master.dev41Sept 2017
  4. Fullstack TypeScript (feat. GraphQL & Node.js)

    Master.dev · Mike North · 16 lessons · May 2022

    3 h 12 minSubscription
    Master.dev16May 2022
  5. Master the Deno JavaScript Runtime

    Educative · Francesco Leardini · 18 lessons · Jun 2022

    Beginner2 h 15 minSubscription
    Educative18Jun 2022
  6. Learn Node.js

    Educative · Naeem ul Haq · 46 lessons · Sept 2026

    Beginner3 h 24 minSubscription
    Educative46Sept 2026
  7. Beginner2 h
    CourseraSept 2021
  8. Creating a CRUD REST API with Deno & Oak

    Educative · Saswata Mukherjee · 8 lessons · Apr 2022

    Intermediate2 hSubscription
    Educative8Apr 2022

A hyphen means the provider's catalogue does not state the value.

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.

    Compare