Prepare

After cloning project run:

  • composer install
  • php artisan migrate:refresh --seed

Run

  • php artisan serve

Endpoints

  • api/categories
  • api/categories/{id}
  • api/search-product