All Projects → alexeycrystal → Laravel Passport Vue Authentication

alexeycrystal / Laravel Passport Vue Authentication

Laravel & Vue.js - authentication with Laravel Passport (Laravel 7 + Passport 9.3 + Vue 2.6 + Vuex 3.5)

Projects that are alternatives of or similar to Laravel Passport Vue Authentication

Laravel Vuetify Spa
Laravel-Vue SPA starter project template with Vuetify frontend.
Stars: ✭ 73 (+82.5%)
Mutual labels:  laravel, vuex
Vue Laravel Spa
Single Page Application made with Vue.JS2, Vue Router, Vuex and Laravel 5.6.
Stars: ✭ 107 (+167.5%)
Mutual labels:  laravel, vuex
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (+35%)
Mutual labels:  laravel, vuex
Ticket Conductor
A free and open-source Laravel 5.5 and VueJS (SPA) Ticket system
Stars: ✭ 48 (+20%)
Mutual labels:  laravel, vuex
Todo Vue
Code for YouTube series on building a Todo App in Vue.js
Stars: ✭ 199 (+397.5%)
Mutual labels:  laravel, vuex
Laravue
Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
Stars: ✭ 1,964 (+4810%)
Mutual labels:  laravel, vuex
Running Time
Sample Single Page Application using Laravel & Vue.js + Vuex + Vue-Router
Stars: ✭ 90 (+125%)
Mutual labels:  laravel, vuex
Roastandbrew
Updated content available! We learned a lot since we originally wrote this article. We now have this updated for Laravel 8, Vue, and NuxtJS 👉 https://srvrsi.de/book
Stars: ✭ 300 (+650%)
Mutual labels:  laravel, vuex
Vue Gates
🔒 A Vue.js & Nuxt.js plugin that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.
Stars: ✭ 184 (+360%)
Mutual labels:  laravel, vuex
Roastapp
Laravel学院 Roast 应用源码
Stars: ✭ 164 (+310%)
Mutual labels:  laravel, vuex
Laravel Vue
运用laravel5.4 + vue2.0 + elementui
Stars: ✭ 276 (+590%)
Mutual labels:  laravel, vuex
Enso
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]el-enso.com` & `password` -
Stars: ✭ 959 (+2297.5%)
Mutual labels:  laravel, vuex
Time Traveller
Time travel for your Laravel Models.
Stars: ✭ 36 (-10%)
Mutual labels:  laravel
Lara Eye
Filter your Query\Builder using a structured query language
Stars: ✭ 39 (-2.5%)
Mutual labels:  laravel
Laravel Personality Insights
👩 👱 Using IBM Watson Personality Insights Service with Laravel 5
Stars: ✭ 36 (-10%)
Mutual labels:  laravel
Laravel Support
Rinvex common support helpers, contracts, and traits required by various Rinvex packages. Validator functionality, and basic controller included out-of-the-box.
Stars: ✭ 36 (-10%)
Mutual labels:  laravel
Adaptcms
AdaptCMS is an open source CMS that is made for complete control of your website, easiness of use and easily adaptable to any type of website. It's made easy with advanced custom fields, a very simple but powerful template system and much more.
Stars: ✭ 39 (-2.5%)
Mutual labels:  laravel
Api Tester
API tester for laravel-admin
Stars: ✭ 38 (-5%)
Mutual labels:  laravel
Ys Tinify Laravel
Tinify API support with laravel
Stars: ✭ 36 (-10%)
Mutual labels:  laravel
Scrutiny
Ensure your laravel-based project is running in the correct server environment
Stars: ✭ 36 (-10%)
Mutual labels:  laravel

Laravel Passport & Vue - authentication

This is the working sample of the integration of the Laravel Passport and the usage of the JWT for your API. Hope you will find some useful info for your needs!

Versions:

  • Laravel v.7.0
  • Laravel Passport v.9.3
  • Vue v.2.6.11
  • Vuex v.3.5.1

Manual Installation:

After the git clone, run this commands & editions one after one to start the application:

* composer install
* npm install
* php artisan key:generate
* set up your database user & password in the .env file (copy the structure from the .env.example file)
* create the mysql database and set the name to .env file
* php artisan migrate
* php artisan passport:install
* copy the new generated passport-client secret from console or from your database and paste it in your .env key PASSPORT_CLIENT_SECRET
* php artisan optimize
* php artisan serve --host=0.0.0.0
* npm run watch

Enjoy!

Generate OpenAPI (Swagger) documentation:

1. Run artisan command: php artisan l5-swagger:generate
2. Open browser on address http://your-deploy-address:port/api/documentation

Prepare the correct config before testing:

Need to make some small preparation to run the correct .env file and run:

* php artisan config:cache --env=testing

or

* php artisan config:clear

Run all unit tests from test folder:

* vendor/bin/phpunit --verbose -c phpunit.xml
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].