/guide-to-laravel-passport

An in-depth article on API authentication with Laravel Passport

Primary LanguagePHP

guide-to-laravel-passport

This is a reference project for An In-Depth Guide to API Authentication With Laravel Passport article published on Adeva Blog.

Installation Steps

git clone git@github.com:fhsinchy/guide-to-laravel-passport.git

cd guide-to-laravel-passport

cd auth-server
cp .env.example .env
touch database/database.sqlite
composer install
php artisan key:generate
php artisan passport:keys
php artisan migrate
npm install
npm run dev

cd ..

cd auth-client
cp .env.example .env
npm install