Getting Started:

  1. Composer Install: composer install
  2. NPM Install: npm install
  3. Database: php artisan migrate --seed
    • username: andranikvbadalyan@gmail.com
    • password: secret
  4. Install passport clients: php artisan passport:install
    • Copy the Client Secret from Client ID: 2 to your EVN variable VUE_CLIENT_ID
  5. run php artisan config:clear
  6. Use Auth middleware for protected routes auth:api
    • test with GET: /api/user (already exists in routes/api.php)

Screenshots: