So far your /books endpoint provides an author column on the books database table. Making authors a string field on the books table was intentional so that you could focus on other primary concepts of building your API, but now you are ready to create proper author data and provide API endpoints for author data.
This chapter will cover the following:
Creating the authors database schema
Creating a relationship between book data and authors
Creating API endpoints for author information
Modifying your /books endpoint to use new author data
The Authors Database Schema
Creating the authors database table involves a few migrations: ...