Unfortunately, the world doesn’t have much demand for “Hello World” APIs, and working on trivial applications is not going to help you for long. We are ready to start building something of more substance, driven by tests. For the remainder of this book, we will create a RESTful (hopefully) book API. The book API will represent two main RESTful resources (books and authors) and a few other resources. You will be writing a RESTful API, and while I try to follow good practices, it might not be perfectly “RESTful.” I digress.
You will see some similarities between writing APIs and web applications ...