Skip to Content
Design and Build Great Web APIs
book

Design and Build Great Web APIs

by Mike Amundsen
October 2020
Intermediate to advanced
358 pages
8h 39m
English
Pragmatic Bookshelf
Content preview from Design and Build Great Web APIs

Chapter Exercise

For this chapter’s exercise, you finally get to code your API. That means you’ll be using the design assets from previous chapters along with NodeJS and the DARRT library to implement a working version of the credit-check API.

Hopefully, the task list for implementing your API will look familiar.

First, copy the DARRT library into your NodeJS project. Next, use information from your ALPS document and WSD diagram to update the DARRT library files. And finally, fire up the completed credit-check service and run your validator script to ensure the service at least supports your intended “happy path” workflow. It might seem like quite a bit to accomplish, but if all goes well you should be able to complete this exercise in less ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Designing Web APIs

Designing Web APIs

Brenda Jin, Saurabh Sahni, Amir Shevat

Publisher Resources

ISBN: 9781680508123Errata Page