Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months ago
JSON representation
Simple Laravel 10 REST API with AUTH Sanctum/Categories/Products
- Host: GitHub
- URL: https://github.com/kvyaceslav/simple-laravel-api
- Owner: kvyaceslav
- Created: 2020-01-17T17:39:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T18:30:09.000Z (over 1 year ago)
- Last Synced: 2024-09-28T20:03:20.360Z (4 months ago)
- Topics: api, docker, eloquent, laravel, laravel-framework, laravel10, mysql, mysql-database, php, rest-api, restapi, restful-api, sanctum, sanctum-authentication
- Language: PHP
- Homepage:
- Size: 1.15 MB
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 upFrom 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 / RegisterAPI Dock: http://localhost/request-docs/
Telescope: http://localhost/telescope/
Horizon: http://localhost/horizonBest regards.