Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kvyaceslav/simple-laravel-api

Simple Laravel 10 REST API with AUTH Sanctum/Categories/Products
https://github.com/kvyaceslav/simple-laravel-api

api docker eloquent laravel laravel-framework laravel10 mysql mysql-database php rest-api restapi restful-api sanctum sanctum-authentication

Last synced: about 14 hours ago
JSON representation

Simple Laravel 10 REST API with AUTH Sanctum/Categories/Products

Awesome Lists containing this project

README

        

## Simple Laravel 10 REST API

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.