- Copie o arquivo .env.example para .env usando o comando
cp .env.example .env
- Levante os containers docker usando
docker-compose up -d --build
- Em seguida entre no container da aplicação
docker exec -it app bash
- Agora dentro dele vamos em busca de nossas dependências
composer install
- Podemos agora popular o banco usando
php artisan migrate:fresh --seed
- Para testar se nossa API está funcioando como esperado execute os testes
php artisan test