Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 831 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 831 Bytes

Manage Laravel Microservices APIs with Apache APISIX API Gateway

This is an example project focus on the usage of Apache APISIX API Gateway for applications developed in PHP Laravel.

Build a multi-container APISIX via Docker CLI

You can start the application by running docker compose command from the root folder of the project:

docker-compose -p docker-apisix up -d

create .env:

cd laravel && cp .env.example .env

install laravel dependency packages:

docker-compose run --rm composer install

create APP_KEY:

docker-compose run --rm artisan key:generate

run migration:

docker-compose run --rm artisan migrate

create JWT_SECRET:

docker-compose run --rm artisan jwt:secret