© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.