- PHP
- Laravel Framework
- Postgres
- Custom console commands
To implement two pages and a console command.
- Product page uXXXXXX-lab2.local/products/{code}. The list should show all the fields of the product including the image as
.
- Catalog category page uXXXXXX-lab2.local/category/{code} If the category is not active, the application should give a 404 ошибки. The page should list all the products in the category. Implement page navigation and filter by price
- The console command php artisan product:category {id}. The console command should return a character code of the category of the product with identifier equal to {id}