Laravel+Vue.js online bagel store
Branch: master
Clone or download
Pull request Compare This branch is even with ConcordiaProjects:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
hooks
public
resources
routes
storage
tests
.babelrc
.directory
.editorconfig
.env.dusk.local
.env.dusk.testing
.env.example
.eslintrc
.gitattributes
.gitignore
.travis.yml
LICENSE
Procfile
README.md
artisan
composer.json
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js
yarn.lock

README.md

Laravel-Vue SPA

Build Status Total Downloads Latest Stable Version

A Laravel-Vue SPA starter project template.

Features

  • Laravel 5.6
  • Vue + VueRouter + Vuex + VueI18n + ESlint
  • Pages with dynamic import and custom layouts
  • Login, register and password reset
  • Authentication with JWT
  • Socialite integration
  • Bootstrap 4 + Font Awesome 5

Installation

Configure MySQL following tutorial.

Settings

# Create .env file
cp .env.example .env

Change in the .env file fields:

DB_DATABASE=dbname

DB_USERNAME=dbuser

DB_PASSWORD=userpassword

PHP part

# install php dependencies
composer install

# Additional commands
php artisan key:generate
php artisan jwt:secret

#migrate database
php artisan migrate
php artisan db:seed

JavaScript part

# install javascript dependencies
npm install

OR

# In case npm is not working in Windows
yarn install

# build application
npm run dev

Usage

# start dev server on 8888 port
php artisan serve --port="8888"

Usage - For a manually configured apache server

Development

# build and watch
npm run watch

# serve with hot reloading
npm run hot

Production

npm run production

Changelog

Please see CHANGELOG for more information what has changed recently.