Simple Laravel 10 REST API with Sanctum Registration/Authentication, Products + Categories.
Install:
- Run Docker
- ./vendor/bin/sail up
From Docker container:
- composer install
- php artisan key:generate
- php artisan migrate
- php artisan queue:work (For queues)
PS. For queues don`t forget to select driver (Redis, ...).
API Structure: CRUD[GET, POST, PUT/PATCH, DELETE] for Categories and Products [POST] Login / Register
API Dock: http://localhost/request-docs/ Telescope: http://localhost/telescope/ Horizon: http://localhost/horizon
Best regards.