Run Vuely-Laravel-Passport

Database migration, if you use the vuely-laravel-passport-authentication project

Step 1: Run the project

Firstly, you need to run the project, so follow the steps under the Getting Started of vuely-laravel

Step 2: Database setup

Now go to your .env file and change the database credentials

DB_DATABASE=Your Database Name
DB_USERNAME=Username
DB_PASSWORD=Password

Step 3: Migration

Now run the php artisan migrate command and this will generate the required tables of laravel and passport in your database.

Step 4: passport:install

Next, you should run the passport:install command. This command will create the encryption keys needed to generate secure access tokens. In addition, the command will create "personal access" and "password grant" clients which will be used to generate access tokens.

php artisan passport:install

Last updated