Series: Laravel Vue Spa
20 articles
- 01.
Building a Laravel API with Vue SPA: Introduction
A step by step guide on how to build a Laravel 11 API with a Vue 3 SPA to consume its data using Sanctum and Fortify.
- 02.
Setting Up Laravel 11 with Sanctum and Fortify
How to set up Laravel 11 with Sanctum and Fortify for use as a headless API that your Vue SPA can consume.
- 03.
Setting Up Vue 3 with Vite and Pinia
How to set up a Vue 3 SPA with Vite, Pinia, and Vue Router to consume your Laravel API.
- 04.
Testing API Endpoints with Insomnia or Postman
Testing your API endpoints is essential when building a Laravel API. Here's how to use Insomnia or Postman with Sanctum token authentication.
- 05.
Debugging Your API with Laravel Telescope
Laravel Telescope provides insight into requests, exceptions, and database queries. Essential for debugging your API.
- 06.
The Demo Application
Overview of the demo application you'll be building - a Vue 3 SPA with Laravel 11 API authentication.
- 07.
Laravel 11 API Authentication with Sanctum and Fortify
How to set up full authentication using Laravel Sanctum and Fortify including CORS, email verification, and password resets.
- 08.
Vue 3 SPA Authentication with Sanctum
How to set up full authentication in a Vue 3 SPA using Laravel Sanctum, Pinia, and the Composition API.
- 09.
Updating User Profile Information
How to update a user's profile details in a Vue 3 SPA using Laravel Fortify's profile update functionality.
- 10.
Basic Authorization with Admin Roles
How to set up basic authorization in a Laravel 11 API and Vue 3 SPA, adding an is_admin field to control access to protected content.