Skip to content

mehmetnky/laravel-restfulapi

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages