Check out a free preview of the full Code Robust APIs with the Hapi.js Server Framework for Node.js course:
The "Challenge 3: Creating Route Prerequisites" Lesson is part of the full, Code Robust APIs with the Hapi.js Server Framework for Node.js course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students add data with an API using two route prerequisites to check if data already exists and then prepare the data to be added to a handler.

Get Unlimited Access Now