Skip to content
Template for Single Page Applications built with Laravel and Vue.
Branch: master
Clone or download
Latest commit 4de640a Jun 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci 🎉 Initial commit Jun 5, 2019
app 🎉 Initial commit Jun 5, 2019
bootstrap 🎉 Initial commit Jun 5, 2019
config 🎉 Initial commit Jun 5, 2019
database 🎉 Initial commit Jun 5, 2019
public
resources 🎉 Initial commit Jun 5, 2019
routes 🎉 Initial commit Jun 5, 2019
storage 🎉 Initial commit Jun 5, 2019
tests 🎉 Initial commit Jun 5, 2019
.editorconfig 🎉 Initial commit Jun 5, 2019
.env.example 🎉 Initial commit Jun 5, 2019
.env.testing 🎉 Initial commit Jun 5, 2019
.gitattributes 🎉 Initial commit Jun 5, 2019
.gitignore 🎉 Initial commit Jun 5, 2019
.htaccess
.styleci.yml 🎉 Initial commit Jun 5, 2019
README.md Create README.md Jun 5, 2019
artisan 🎉 Initial commit Jun 5, 2019
composer.json 🎉 Initial commit Jun 5, 2019
index.php 🎉 Initial commit Jun 5, 2019
package.json 🎉 Initial commit Jun 5, 2019
phpunit.xml 🎉 Initial commit Jun 5, 2019
webpack.mix.js 🎉 Initial commit Jun 5, 2019
yarn.lock 🎉 Initial commit Jun 5, 2019

README.md

CircleCI

Laravel-Vue-SPA-template

A template for Single Page Application built with Laravel and Vue.

Installation

Set up your .env file

composer install
npm install
npm run dev

php artisan migrate
php artisan key:generate
php artisan passport:install

php artisan serve    <- see 'Worth noting' below

Features included out of the box:

  • CircleCI configuration
  • Token auth powered by Laravel Passport
  • Vue.js frontend with Vuex and Vue Router, utilizing auth API endpoints for registration, login and retrieval of currently logged in user

Worth noting

  • User IDs are UUIDs instead of integers
  • Laravel is configured so that web server accesses base directory, not /public. To run it locally with php artisan serve, copy index.php in base directory and rename it to server.php.
  • Frontend can be accessed at localhost:8000/app
You can’t perform that action at this time.