Skip to main content
Tutorial Free

Demo-project: Laravel 5.5 Passport API with Vue.js Client

September 27, 2017
1 min read
While working internally with Laravel APIs and Vue.js, decided to create a sample open-source project to show how it all works together. Here's the repository: https://github.com/LaravelDaily/Laravel-Passport-API-Server-Client-Demo There are two mini-projects inside of it:
  • Laravel 5.5 Passport-based Server project with database
  • Laravel 5.5 and Vue.js based Client project to connect to that Server and get the data
Readme contains quite simple installation instructions, and if it all works for you, you should see log in form and then authorization screen: passport-client2 When authorized, you will get to the Projects list - basically, HTML table with data filled in by Vue.js calling Server's API. Here's how it looks in the server's database. laravel passport server database For client, we don't even need the database - all the data is taken/manipulated on the server. The goal of this project is to show you a simple mechanism how it all works, but you can adapt it to your needs, add different CRUDs and API calls instead of our demo Projects. We hope it's a useful starter tool to speed up your development process! Link to the repository again: https://github.com/LaravelDaily/Laravel-Passport-API-Server-Client-Demo

Enjoyed This Tutorial?

Get access to all premium tutorials, video and text courses, and exclusive Laravel resources. Join our community of 10,000+ developers.

Recent Courses

Filament 4 From Scratch

28 lessons
2 h 25 min

PhpStorm Junie AI for Laravel Projects: Crash Course

7 lessons
36 min

Laravel HTTP Client and 3rd-Party APIs

7 lessons
50 min

Comments & Discussion

No comments yet…

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.