Check out a free preview of the full Code Robust APIs with the Hapi.js Server Framework for Node.js course:
The "Challenge 2: Setting Up Routes" 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 create two routes: one route to get data and another route to get a single object from within that data.

Get Unlimited Access Now