This repository contains a basic Laravel setup for the Chicken-System project. It includes a minimal API for managing products.
- Install PHP 8.3 and Composer.
- Run
composer install
inside thechicken-system
directory. - Copy
.env.example
to.env
and runphp artisan key:generate
. - Run migrations with
php artisan migrate
. - Start the development server using
php artisan serve
.
GET /api/products
— List all productsPOST /api/products
— Create a new productGET /api/products/{id}
— View a productPUT/PATCH /api/products/{id}
— Update a productDELETE /api/products/{id}
— Delete a product
Authentication is provided via Laravel Sanctum.