Get in Touch

Course Outline

Introduction

  • Lumen features and architecture overview
  • Core concepts and components

Getting Started

  • Installing Lumen
  • Defining route parameters
  • Configuring middleware
  • Setting up controllers
  • Managing HTTP requests and responses

Creating Microservices

  • Developing the authors' model
  • Generating test data
  • Managing authors via controllers
  • Establishing routes for CRUD operations
  • Standardizing response formats

Implementing Microservices Functions

  • Displaying the list of microservice authors
  • Creating new author instances
  • Locating an author by ID
  • Updating existing author records
  • Deleting an author from the microservice

Implementing Gateway Functions

  • Setting up the API Gateway project using Composer
  • Retrieving the author list through Gateway controllers
  • Creating authors via Gateway controllers and services
  • Viewing, editing, and deleting author instances
  • Executing operations via microservices
  • Handling Gateway errors

Securing Microservices Architecture

  • Activating Lumen Passport components
  • Configuring Lumen to utilize Passport
  • Securing Gateway routes
  • Utilizing access tokens for the API Gateway
  • Authenticating API Gateway requests
  • Restricting direct access to the author service

Managing Users and Access Tokens

  • Migrating users from Laravel
  • Developing controllers and routes for user management
  • Refining details for user operations
  • Creating users and obtaining tokens via their credentials
  • Verifying authenticated users through access tokens

Troubleshooting Tips and Best Practices

Summary and Next Steps

Requirements

  • Prior experience with PHP programming.

Target Audience

  • Software Developers
 14 Hours

Testimonials (3)

Upcoming Courses

Related Categories