Skip to content

About

A comprehensive guide to building a secure authentication system with Vue.js, Pinia for state management, Quasar for UI components, and Laravel as the backend API.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Building a Secure Login System with Vue.js + Pinia + Quasar and Laravel

A comprehensive guide to implementing a secure authentication system using Vue.js with Pinia for state management, Quasar Framework for UI components, and Laravel for the backend.



Login Page

More info at - https://medium.com/@murilolivorato/building-a-secure-login-system-with-vue-js-pinia-quasar-and-laravel-at-backend-51c6e780f8b5

Overview

This project demonstrates how to build a secure login system with:

  • Vue.js 3 frontend with Pinia for state management
  • Quasar Framework for UI components
  • Laravel backend for authentication
  • Secure token-based authentication
  • Protected routes
  • User session management

Features

  • Secure user authentication
  • Token-based authorization
  • Protected routes
  • Pinia state management
  • Quasar UI components
  • Responsive design
  • Environment variable management
  • Axios for API communication

Prerequisites

Backend Requirements

  • PHP 8.1 or higher
  • Composer
  • Laravel 10.x
  • MySQL or another database system

Frontend Requirements

  • Node.js (v14 or higher)
  • npm or yarn
  • Modern web browser

Installation

Backend Setup

  1. Clone the Laravel repository:
git clone <laravel-repository-url>
cd laravel-auth-backend
  1. Install dependencies:
composer install
  1. Configure your environment:
cp .env.example .env
php artisan key:generate
  1. Run migrations:
php artisan migrate

For detailed backend setup instructions, visit: Laravel Backend Setup Guide

Frontend Setup

  1. Create a new Quasar project:
npm init quasar

👥 Author

For questions, suggestions, or collaboration:

📸 Screenshots

Quasar App

Login Page

Login Page

Login Page

Form Error

Login Page

Admin Area

Login Page

⭐ Star This Repository ⭐

Your support helps us improve and maintain this project!

GitHub Stars

About

A comprehensive guide to building a secure authentication system with Vue.js, Pinia for state management, Quasar for UI components, and Laravel as the backend API.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages