AdrienPoupa / soen6011

Laravel+Vue.js online bagel store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Laravel+Vue.js online bagel store

License:MIT License


Languages

Language:PHP 74.4%Language:Vue 19.2%Language:HTML 6.4%