This is a Laravel Rest Api products app with CRUD operation and Sanctum Authentication
Authentication Routes
- POST - http://127.0.0.1:8000/api/v1/register
- POST - http://127.0.0.1:8000/api/v1/login
- GET - http://127.0.0.1:8000/api/v1/user
Product Routes
- GET - http://127.0.0.1:8000/api/v1/products
- GET - http://127.0.0.1:8000/api/v1/products/{product}
- POST - http://127.0.0.1:8000/api/v1/products
- PUT/PATCH - http://127.0.0.1:8000/api/v1/products/{product}
- DELETE - http://127.0.0.1:8000/api/v1/products/{product}
GitHub Link
- This is the 1st item
- This is the 2nd item