Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel 2023 - how build API Microservices for Laravel
Rating: 3.4 out of 5(47 ratings)
2,412 students

Laravel 2023 - how build API Microservices for Laravel

Microservices are the modern way to build websites. Learn to build and test API microservices with Laravel 5.5 and 5.6
Created byDave Partner
Last updated 7/2023
English
English [Auto],

What you'll learn

  • Students should be able to build API platforms after taking this course

Course content

1 section16 lectures1h 37m total length
  • Introduction6:16

    Build an event management microservice with Laravel 5.5, covering events, ads, users, and payments. Learn via simple illustrations how roles, rules, and database tables drive the app.

  • what is a microservice vs monolithic7:50

    Learn the difference between monolithic and microservice architectures, and how to separate the backend from the frontend by defining APIs with endpoints, using post and get requests, and API documentation.

  • Important Laravel resources0:18
  • how tokens work in microservices6:51

    Learn how token-based authentication in Laravel microservices uses login-generated tokens containing time and user id to authorize subsequent requests; tokens may be stored in session or cookies.

  • installing wampserver7:25

    Install WampServer on Windows to run a local PHP server for Laravel API development. Configure the server, enable required extensions, and use Composer to install Laravel.

  • installing passport5:01

    Install and configure Laravel Passport to enable api authentication, generate application keys, and run the local server while following official documentation for Laravel API microservices.

  • how to setup laravel passport.5:19

    Install and configure Laravel Passport, set up the local database and migrations, and verify token-based authentication works with the created passport tables.

  • how to setup passport in laravel [part 2]5:56

    Master the proper installation of Laravel Passport, import required classes, update the service provider, and configure the driver to enable Passport authentication with migrations and user tables.

  • how to create user api in laravel5:54

    Learn how to build a Laravel API user system with Passport authentication, including creating a Passport controller, generating keys before production, and implementing login and register endpoints with validation.

  • signup api code8:37

    Build a signup api in Laravel by validating input, enforcing required fields like email, encrypting passwords, creating users, issuing a token, and handling success and error responses.

  • creating our first route6:07

    Define a post route for user registration in Laravel, validate inputs, return a generated token on success, and test the API with Postman to verify the register method.

  • how to setup postman8:14

    Learn how to set up Postman to test Laravel API microservices, verify server is running on localhost, and send register post requests while handling authentication and custom exceptions.

  • how to send a post request with postman8:29

    Learn to send a POST request with Postman by filling form fields, validating input, encrypting passwords, and viewing responses as JSON for a Laravel API.

  • how to create a login endpoint7:06

    Develop a Laravel API login endpoint by validating email and password, testing with postman, and handling success or error messages through login and sign-up routes.

  • how to send request with token7:22

    Create token-protected api routes in laravel, verify user identity with a token, and test requests to retrieve full user details using authorization headers.

  • Bonus Lecture: important links0:19

Requirements

  • You should have basic knowledge of PHP

Description

Have you ever had to build a website that also communicates with a mobile app and other websites? 
The website is expected to send data to the mobile app and to other sites. That's exactly what I am teaching in this course, how to build one of such platforms.
All big web sites have microservices running at the background eg. Facebook, Instagram, Twitter etc. It is the modern way to build platforms. That's why they are able to build mobile apps for their platforms and even open up APIs for developers around the world and make money selling access to such APIs.

This course teaches you the easy, straightforward and robust way to build API and microservice platforms with Laravel. 

Have you ever had to build a website that also communicates with a mobile app and other websites? 
The website is expected to send data to the mobile app and to other sites. That's exactly what I am teaching in this course, how to build one of such platforms.
All big web sites have microservices running at the background eg. Facebook, Instagram, Twitter etc. It is the modern way to build platforms. That's why they are able to build mobile apps for their platforms and even open up APIs for developers around the world and make money selling access to such APIs.

This course teaches you the easy, straightforward and robust way to build API and microservice platforms with Laravel. 


Who this course is for:

  • People who wish to learn how to build APIs and microservices with laravel 5.6