© Paul Redmond 2016

Paul Redmond, Lumen Programming Guide, 10.1007/978-1-4842-2187-7_3

3. Creating the Book Application

Paul Redmond

(1)Phoenix, Arizona, USA

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 ...

Get Lumen Programming Guide: Writing PHP Microservices, REST and Web Service 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.