Title: Node API Development using Hapi JS

Tim Ferrell

Tim Ferrell

Target Audience: All skill levels

We will be creating a simple API that mutates in an memory array of objects. The persistence layer isn't any fun, because it's all in memory, but Hapi is where the fun shines. Using the ratify plugin for Hapi we will validate the request payload, query parameters, and response payload using JSON-schema validation. Additionally, we'll get user-friendly documentation out the other side with Swagger. Tying documentation in with code - what's better than that?!

Back