- Clone this repo
git clone https://github.com/samironbarai/lumen-rest-api-jwt-auth.git
- Install composer packages
cd lumen-rest-api-jwt-auth
$ composer install
- 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
- Migrate and insert records
$ php artisan migrate
To test application follow the tutorial bellow. Click on the image bellow to see YouTube video.
Please visit my website. samironbarai.com