Skip to content

yokihg/vue-laravel-auth-jwt

Repository files navigation

Laravel 5.5 & Vue Router + JWT(Auth)

Vue SPA with Laravel + JWT for auth example template project setup

Installation

    1. npm install
    2. composer install  

Start server

    1. php artisan serv --port [portNumber] #default 8000
    2. npm run watch #live reload after change file  

Open http://127.0.0.1:8000

Setup data user

after setup .env file & install tymondesigns/jwt-auth

    1. php artisan tinger
    2. DB::table('users')->insert(['name'=>'admin','email'=>'admin@gmal.com','password'=>Hash::make('admin')])
    3. Exit

License

The MIT License (MIT)

About

Vue js + laravel Auth template project using jwt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published