Vuely
  • Introduction
  • Folder Structure
  • Vuely VueJs
    • Different Layouts
      • Adding Menu In Different Layouts
    • Installation
    • Adding New Component
    • Translate The App(Multi Language Support)
    • Adding New Widgets
    • Themes
    • Style Customization
    • Build an App from Scratch
    • Seed Project
    • Deployment
    • UI Components
      • Buttons
      • Cards
      • Selection controls
      • Carousel
      • Chips
      • Date/Month Pickers
      • Dialog
      • Grid
      • Input / Text field
      • List
      • Menu
      • Progress
      • Banner
      • Select
      • Slider
      • Tabs
      • Toolbar
      • Timepicker
      • Forms
  • Vuely-Laravel
    • Folder Structure
    • Installation Vuely-Laravel
    • Customization
  • Vuely-Laravel with Api Authentication
    • Getting Started
    • Passport Authentication
    • Run Vuely-Laravel-Passport
  • Vuely ExpressJs
    • Folder Structure
    • Installation
    • Layouts
    • Style Customization
    • Deployment
    • Translate the App
    • Browsers Compatibilty
    • Credits
  • Vuely Angular Version
    • Folder Structure
    • Installation
    • Layouts
    • Adding/Deleting Menu & Component
    • RTL
    • Deployment
  • Credits
  • Template Update
  • FAQ's (Frequently Asked Questions)
  • Changelog
  • Customer Support
Powered by GitBook
On this page
  • Step 1: Run the project
  • Step 2: Database setup
  • Step 3: Migration
  • Step 4: passport:install
  1. Vuely-Laravel with Api Authentication

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
PreviousPassport AuthenticationNextVuely ExpressJs

Last updated 6 years ago