Skip to content

samironbarai/lumen-rest-api-jwt-auth

Repository files navigation

Develop REST API with Lumen and JWT authentication

Installation

  1. Clone this repo
git clone https://github.com/samironbarai/lumen-rest-api-jwt-auth.git
  1. Install composer packages
cd lumen-rest-api-jwt-auth
$ composer install
  1. Create and setup .env file
make a copy of .env.example
$ copy .env.example .env
$ php artisan key:generate
put database credentials in .env file
$ php artisan jwt:secret
  1. Migrate and insert records
$ php artisan migrate

To test application follow the tutorial bellow. Click on the image bellow to see YouTube video.

Lumen REST API Crash Course 2021 (Passport and JWT authentication)

Please visit my website. samironbarai.com

About

Develop REST API with Lumen and JWT authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published