Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Create a CRUD API with Laravel and Postman
Rating: 4.6 out of 5(350 ratings)
17,755 students

Create a CRUD API with Laravel and Postman

Learn how to leverage the power of a Laravel back end API.
Created byQuentin Watt
Last updated 10/2021
English
English [Auto],

What you'll learn

  • Learn how to create a CRUD API with Laravel.
  • API resource routes in Laravel
  • Laravel Resources and Resource Collections
  • How to use Postman to test your API
  • How to set up Laravel with Laravel Valet
  • How to set up Laravel with Laravel Homestead

Course content

2 sections • 12 lectures • 1h 34m total length
  • Installing Vagrant7:23

    Install Laravel Homestead using Vagrant and VirtualBox, compare Valet and Homestead, and learn terminal-based setup steps for Mac and Windows environments.

  • Installing Homestead7:16

    Install and configure Homestead with Vagrant, map a code directory, and boot the Vagrant box. Set up a site queue costs test with a database queue costs.

  • Mapping your hosts file6:04

    Map the code directory in the Vagrant box, SSH in, and run halt, up, or provision to sync changes; install Laravel and prepare the hosts file for browser access.

  • Setting up multiple Laravel Projects2:22

    Set up multiple Laravel projects by mapping a local domain to 127.0.0.1, editing the hosts file, and configuring Homestead sites, then access on port 8000.

  • Installing Laravel5:01

Requirements

  • You should have basic knowledge of PHP
  • You should be able to create a new Laravel installation
  • You should be familiar with the command line

Description

Learn how to create a CRUD API in Laravel. We'll create an app that contains Show, Create, Update, and Delete requests and returning our data as an API resource. HTTP responses will be tested with Postman.


You can later replace Postman with a JavaScript SPA built in React or Vue to fetch data from the app.

Who this course is for:

  • Laravel beginners
  • Back end developers
  • Full Stack Developers
  • Mobile developers who need an API for the back end of their app