YoVDO

Building RESTful APIs in Laravel

Offered By: LinkedIn Learning

Tags

Laravel Courses Web Development Courses PHP Courses Postman Courses CRUD Operations Courses API Testing Courses

Course Description

Overview

Discover how to build a simple RESTful API using Laravel, the popular PHP framework.

Syllabus

Introduction
  • Building RESTful APIs in Laravel
1. An Introduction to APIs in Laravel
  • API overview
  • APIs in the real world
  • Our application: ePetitions API
  • The basics of Laravel 8
2. Setting Up Our Application
  • The project infrastructure
  • Creating the database structure
  • Creating a model factory and seeder
  • Setting up the RESTful API routes
  • Challenge: Creating an author resource infrastructure
  • Solution: Creating an author resource infrastructure
3. Building RESTful API
  • Using API resources to display all petitions
  • Saving a new petition
  • Displaying a specific petition
  • Updating an existing petition
  • Deleting a petition
  • Challenge: Building the author resource
  • Solution: Building the author resource
4. Testing Our API with Postman
  • Installing Postman
  • GET all petitions
  • POST a new petition
  • GET (show) a specific petition
  • PATCH (update) a petition
  • DELETE a petition
  • Challenge: Testing APIs with Postman
  • Solution: Testing APIs with Postman
Conclusion
  • Where to go from here

Taught by

Zuzana Kunckova

Related Courses

Create an eCommerce Website Using Laravel (PHP & MySQL)
Udemy
PHP with Laravel for beginners - Become a Master in Laravel
Udemy
Beginning Laravel 10 - From Novice to Professional (2023)
Udemy
Laravel PHP Framework - Beginners
Udemy
Learn Laravel 7 along with REST API & Livewire
Udemy