/laravel9vue3Auth

An open source laravel 9, vue 3, vite, typescript, Bootstrap 5.2 based authentication to dashboard project

Primary LanguagePHP

About laravel9vue3Auth

It is a Laravel 9 Vue 3 Vite based demo project reflecting the way of authentication using laravel sanctum and use Vue 3 as frontend framework. Build with love and open source for developers.

  1. Bootstrap 5.2
  2. laravel 9
  3. Vue 3
  4. Vite

Getting Started Step by Step

  1. In your root folder, clone the project file using git clone https://github.com/rafi021/laravel9vue3Auth.git
  2. Open terminal (bash/cmd). Then go to project folder using command
cd laravel9vue3Auth
  1. Then install required files and libraries using
composer install
  1. Then create a .env file and generate key for this project using command
cp .env.example .env

php artisan key:generate
  1. Then compile all CSS & JS files together using this command
npm install && npm run dev
  • if npm shows error then try to use --force flag with npm install like this*
npm install --force

or

yarn install && yarn run dev
  1. Create a database in MYSQL and connect it with your project via updating .env file.
  2. After connecting the db with project, then run command
php artisan migrate

After completing the migration. Now you can register new user and login using that user. It will redirect you into the dashboard.

If you found any problem, please feel free to reach me.