Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 822 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 822 Bytes

LARAVEL RESTFUL API

Run in Postman

A RESTful API template uses Laravel Sanctum for authentication.

Installation Steps

  • cp .env.example .env -- Set your variables
  • composer install && composer update
  • php artisan key:generate
  • php artisan migrate
  • php artisan db:seed -- 1 admin, 3 customer users and 50 orders created via Faker.
  • php artisan user:new --help -- Customer users can be registered with /api/register route but If more admin or customer users needed, this command can be executed.