October 2020
Intermediate to advanced
358 pages
8h 39m
English
In this chapter, we focused on translating the final API prototype into an actual working implementation of the Onboarding API. To do that, we used a simple API library called DARRT that was built with NodeJS, the Express web framework, and the EJS template library.
The DARRT library leads developers to translate designs into five parts: data, actions, resources, representations, and transitions. The first three parts are common in all web API approaches; the last two parts are added to improve the quality of the implementation and especially to support the use of links and forms. And links and forms make up the distinguishing elements of APIs built using the principles of web development we looked at in Chapter 1, Getting Started ...