Launching Restaurants APIs

Learn how to set up the building blocks of the new module in a way that facilitates easy maintenance.

Migration and Eloquent model

Each new module starts with a database table. Here as well, we will first create the restaurants table first. Let’s go through the migration file first:

Get hands-on with 1200+ tech skills courses.