A RESTful API template uses Laravel Sanctum for authentication.
cp .env.example .env
-- Set your variablescomposer 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.