/laravel-ecommerce-api

Example Laravel Ecommerce API

Primary LanguagePHPMIT LicenseMIT

laravel-ecommerce-api

Simple Laravel Ecommerce API

Running

php artisan serve

Endpoints list

  • /register - creates new user and returns token generated using Laravel Sanctum
  • /login - returns user data and token generated using Laravel Sanctum
  • /logout - destroys tokens
  • /public/products
  • /public/orders
  • /admin/orders
  • /admin/products
  • /admin/users