This a the demo project related to my article on Medium.
Clone the project from github:
git clone [email protected]:pactode/laravel-janitor-jwt-demo.git
Change directory to the project root.
cd laravel-janitor-jwt-demo
Install dependencies with composer
composer install
Copy the .env.example file to .env and update the database information accordingly.
cp .env.example .env
Generate application key
php artisan key:generate
Run the database migrations
php artisan migrate
Generate JWT secret
php artisan jwt:secret
Serve the application using Valet or by running: php artisan serve