Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 831 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 831 Bytes

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