Consumir uma API,
Ex:
https://pokeapi.co/api/v2/pokemon/1/
https://pokeapi.co/api/v2/pokemon/idPokemano/ 1 ~ 10228
===== Produzir/Consumir uma fila (SQS)
Dentro do Worker Gerar um .pdf (lib?) Gerar um PDF do Pokemano (pelo SQS)
DataDog?
https://pokeapi.co/api/v2/pokemon/1/
Install:
.env.example
to .env
Copy file cp .env.example .env
Setting App && DB:
docker-compose up --build -d
Setting App && DB:
docker exec -it app php artisan migrate:fresh --seed
Composer install
docker exec -it app composer install
docker exec -it app php artisan queue:work --queue=high,default
Just up
docker-compose up --force-recreate -d
Utils:
Enter in container:
docker exec -it app bash
URLs:
Env | Url |
---|---|
Local | http://localhost/health |
QA | - |
Execute tests:
docker exec -it app ./vendor/bin/phpunit
Deploy ?
Scripts:
php composer.phar --no-dev --prefer-dist install
php artisan key:generate