Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anindya-dhruba/laravel-vue-spa
SPA Boilerplate made with Laravel 5.6, Vue 2, Bootstrap 4, Vue-router 3, Vuex 3, Axios
https://github.com/anindya-dhruba/laravel-vue-spa
axios bootstrap4 jwt laravel laravel-vue-spa spa-boilerplate vue-router3 vuejs2 vuex3
Last synced: about 2 months ago
JSON representation
SPA Boilerplate made with Laravel 5.6, Vue 2, Bootstrap 4, Vue-router 3, Vuex 3, Axios
- Host: GitHub
- URL: https://github.com/anindya-dhruba/laravel-vue-spa
- Owner: anindya-dhruba
- License: mit
- Created: 2016-10-30T06:16:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T13:05:12.000Z (almost 2 years ago)
- Last Synced: 2024-08-05T09:18:02.983Z (5 months ago)
- Topics: axios, bootstrap4, jwt, laravel, laravel-vue-spa, spa-boilerplate, vue-router3, vuejs2, vuex3
- Language: PHP
- Homepage: https://laravel-vue-spa.herokuapp.com
- Size: 3.23 MB
- Stars: 165
- Watchers: 16
- Forks: 65
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Vue SPA
Starter Boilerplate SPA made with Laravel 5.6, Bootstrap 4, JWT Auth, Vue 2, Vue-router 3, Vuex 3, Axios & :heart:## Demo
![Laravel Vue SPA](https://media.giphy.com/media/26n3JhU8JqIYlxVCw/giphy.gif)
[Live Demo](https://laravel-vue-spa.herokuapp.com)
## What's New
* Upgraded to [Bootstrap 4](http://getbootstrap.com) from [Bootstrap 3](https://getbootstrap.com/docs/3.3)
* Upgraded to [Vuex 3](http://vuex.vuejs.org) from Vuex 2
* Upgraded to [Vue Router 3](http://router.vuejs.org) from Vue Router 2
* All packages are updated (both PHP and JS)
* Removed unnecessary vuex store modules
* Project structure updated
## What's included
* [Laravel 5.6](https://laravel.com/docs/5.6)
* [Vue 2](https://vuejs.org)
* [Vue Router 3](http://router.vuejs.org)
* [Vuex 3](http://vuex.vuejs.org)
* [Axios](https://github.com/mzabriskie/axios)
* [Authentication with JWT Token](https://github.com/tymondesigns/jwt-auth)## Installation:
* Clone the repo
* Copy `.env.example` to `.env`
* Configure `.env`
* `cd` to the repo
* Run `composer install --no-scripts`
* Run `php artisan key:generate`
* Run `php artisan migrate --seed`. A user will be seeded so that you can login, where:
* email is: `[email protected]`
* password is: `root`
* Run `npm install`
* Run `npm run watch`
* View the site by
* Either running `php artisan serve` if you are not using vagrant homestead or laravel valet (in a new terminal/command prompt)
* Otherwise go to your local dev url configured in vagrantFor any problem in laravel setup, please get help from [Laravel](https://laravel.com) site. If that does not work, please create an issue, I will try my best to help.
## Note:
I tried to follow the best practices, but any suggestion, modification is highly appreciated.