https://github.com/acro5piano/laravel-vue-jwtauth-spa-todo-app
SPA Todo application with authentication using Lavavel 5.4 + Vue.js 2.2 + JWTAuth
https://github.com/acro5piano/laravel-vue-jwtauth-spa-todo-app
jwtauth laravel laravel-vue-spa todo vue vuejs
Last synced: about 2 months ago
JSON representation
SPA Todo application with authentication using Lavavel 5.4 + Vue.js 2.2 + JWTAuth
- Host: GitHub
- URL: https://github.com/acro5piano/laravel-vue-jwtauth-spa-todo-app
- Owner: acro5piano
- Created: 2017-03-11T04:51:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-26T13:08:12.000Z (about 8 years ago)
- Last Synced: 2025-03-18T18:21:28.929Z (about 2 months ago)
- Topics: jwtauth, laravel, laravel-vue-spa, todo, vue, vuejs
- Language: PHP
- Homepage: https://qiita.com/acro5piano/items/908cd751b2ea97e19be1
- Size: 385 KB
- Stars: 32
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

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