SPA Todo application with authentication using Lavavel 5.4 + Vue.js 2.2 + JWTAuth
SPA Todo application with authentication using Lavavel 5.4 + Vue.js 2.2 + JWTAuth
SPA (Single Page Application) make user experience much better.
Laravel is designed to use modern frontend development.
Laravel contains the following stacks by defualt:
And laravel-mix build all asset files.
Vue.js is one of modern JavaScript framework. It can be installed partialy, but its ecosystem enables us to make simple, lightweight, elegant SPA.
Bigger appliction may need state management system such as vuex
.
Login-enable Todo app requires the basic of web technology. It includes
git clone [email protected]:acro5piano/laravel-vue-jwtauth-spa-todo-app.git
cd laravel-vue-jwtauth-spa-todo-app
composer install
yarn install
yarn run watch
cp .env.example .env
php argisan key:generate
php artisan migrate
php artisan seed
php artisan serve
Go to http://localhost:8000