Simple CRUD app for recruitment task Task:
Project needs installation of tools listed here: https://github.com/spatie/image-optimizer#optimization-tools
Installation
- composer install
- npm install && npm run dev
- php artisan migrate
- php artisan passport:install (for api tokens)
- php artisan db:seed --class=AdminSeeder (creates admin account admin@admin.com password)
- php artisan db:seed (seed database with Companies and Employees)
For local tests
- php artisan test
Note: I know I could use repository pattern, but thought that it would be overkill for such small project.