This is my first project using Laravel.
I encourage you to take a look at my other Symfony project, where I managed to demonstrate various architectural patterns.
https://github.com/pmalisak/notification-service
docker compose build
docker compose up
Setup application:
docker exec -it airline-task-php-fpm-1 sh
composer install
php artisan migrate
php artisan db:seed
Unit and functional tests:
php artisan test
Coverage report:
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/Report/
Download postman and import postman/airline_task.postman_collection.json
.
There are two endpoints:
- import file
- roster with filters