Building RESTful APIs in Laravel

Building RESTful APIs in Laravel

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 17m | 216 MB

APIs serve as a bridge between different applications or systems, allowing us to efficiently share our data with the world. REST, an architectural style that defines how to build APIs, is popular, modern, and lightweight. In this course, discover how to create a RESTful API of your own. Join instructor Zuzana Kunckova as she demonstrates how to build a RESTful API using Laravel, the popular PHP framework. Learn how to set up your application, including how to create the database structure and set up RESTful API routes. Discover how to build your RESTful API and save, display, update, and delete resources Plus, explore how to use Postman to test your API and ensure that it works as expected.

Table of Contents

1 Building RESTful APIs in Laravel
2 API overview
3 APIs in the real world
4 Our application ePetitions API
5 The basics of Laravel 8
6 The project infrastructure
7 Creating the database structure
8 Creating a model factory and seeder
9 Setting up the RESTful API routes
10 Challenge Creating an author resource infrastructure
11 Solution Creating an author resource infrastructure
12 Using API resources to display all petitions
13 Saving a new petition
14 Displaying a specific petition
15 Updating an existing petition
16 Deleting a petition
17 Challenge Building the author resource
18 Solution Building the author resource
19 Installing Postman
20 GET all petitions
21 POST a new petition
22 GET (show) a specific petition
23 PATCH (update) a petition
24 DELETE a petition
25 Challenge Testing APIs with Postman
26 Solution Testing APIs with Postman
27 Where to go from here