Check out a free preview of the full Code Robust APIs with the Hapi.js Server Framework for Node.js course:
The "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:
When building an API, there are common tasks that need to be handled before a route is sent to a client: pull data out of a database and save new information; call other APIs and services, and run resource intensive calculations or tasks. Ryan illustrates how HapiJS provides these services called route prerequisites.