January 2018
Intermediate to advanced
336 pages
7h 22m
English
In the first half of this chapter, you developed APIs for discovering and returning books based on a variety of search criteria. In this second half, you’ll be creating APIs for manipulating book bundles. Recall that a book bundle has a name and maintains a collection of related books.
Here’s an example of a book bundle:
| | { |
| | "name": "light reading", |
| | "books": [{ |
| | "id": "pg132", |
| | "title": "The Art of War" |
| | },{ |
| | "id": "pg2680", |
| | "title": "Meditations", |
| | },{ |
| | "id": "pg6456", |
| | "title": "Public Opinion" |
| | }] |
| | } |
Creating these APIs will be programmatically more intensive than creating the search APIs because they require more back-and-forth between your Node.js service and the ...
Read now
Unlock full access