An open API service indexing awesome lists of open source software.

https://github.com/avinashn/laravel-passport---api

A tutorial on how to integrate Passport package and protect API's created in Laravel
https://github.com/avinashn/laravel-passport---api

Last synced: over 1 year ago
JSON representation

A tutorial on how to integrate Passport package and protect API's created in Laravel

Awesome Lists containing this project

README

          

# Laravel-Passport---API
A tutorial on how to integrate Passport package and protect API's created in Laravel

## Prerequisites


  • After cloning this repository, go to the root folder, run the following command/s,

    composer install
    composer update


  • Rename .env.example to .env and provide your database details there.

  • Passport creates few database tables. Run php artisan migrate to import the tables.

  • Run
    php artisan key:generate

  • Now follow the tutorial at https://justlaravel.com/integrate-passport-laravel-api/