Though many of the concepts in this course are still relevant, overall this course does not reflect our current course standards.

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