YoVDO

Building RESTful APIs in Laravel

Offered By: LinkedIn Learning

Tags

Laravel Courses Web Development Courses PHP Courses Postman Courses Data Manipulation 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

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX