Chapter Exercise

In this exercise, you’ll get a chance to expand the functionality of newman, the automated testing app we used in Chapter 9, ​Testing APIs​. This time, along with using the newman library to test our package, you’ll get a chance to add an additional step that will automatically deploy your package to the Heroku cloud platform.

In this exercise you’ll need to update the norman utility to handle continuous deployment. There’s a copy of the source code for this utility in the utilities folder of the downloadable source code associated with this book.[94]

To update the utility, you’ll need to go to the code/deploying/exercise/before/norman folder and open the index.js file to locate the commented section with the title ...

Get Design and Build Great Web APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.