Laravel 5 Boilerplate / Starter kit with iview
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
app init commit Jan 23, 2018
bootstrap init commit Jan 23, 2018
config init commit Jan 23, 2018
database init commit Jan 23, 2018
public init commit Jan 23, 2018
resources init commit Jan 23, 2018
routes init commit Jan 23, 2018
storage init commit Jan 23, 2018
tests init commit Jan 23, 2018
.DS_Store init commit Jan 23, 2018
.babelrc init commit Jan 23, 2018
.editorconfig init commit Jan 23, 2018
.env.dusk.local init commit Jan 23, 2018
.env.dusk.testing init commit Jan 23, 2018
.env.example add env example file Jan 24, 2018
.eslintrc init commit Jan 23, 2018
.gitattributes init commit Jan 23, 2018
.gitignore init commit Jan 23, 2018
.travis.yml init commit Jan 23, 2018
CHANGELOG.md init commit Jan 23, 2018
LICENSE init commit Jan 23, 2018
README.md Update README.md Jan 24, 2018
artisan init commit Jan 23, 2018
composer.json update composer informaton Jan 24, 2018
composer.lock init commit Jan 23, 2018
package-lock.json init commit Jan 23, 2018
package.json init commit Jan 23, 2018
phpunit.xml init commit Jan 23, 2018
server.php init commit Jan 23, 2018
webpack.mix.js init commit Jan 23, 2018
yarn.lock init commit Jan 23, 2018

README.md

Laravel-Vue SPA

Laravel 5 Boilerplate / Starter kit with Iview .

Laravel Boilerplate provides a very flexible and extensible way of building your custom Laravel 5 applications with vue by Iview.

Table of Contents

Features

  • Laravel 5.5
  • Vue + VueRouter + Vuex + Iview + VueI18n
  • Pages with custom layouts
  • Login, register and password reset
  • Authentication with JWT
  • Socialite integration

Installation

  1. Install Composer using detailed installation instructions here
  2. Install Node.js using detailed installation instructions here
  3. Clone repository
$ git clone https://github.com/AbdullahGhanem/laravel-spa-iview.git
  1. Change into the working directory
$ cd laravel-spa-iview
  1. Copy .env.example to .env and modify according to your environment
$ cp .env.example .env
  1. Install composer dependencies
$ composer install --prefer-dist
  1. An application key can be generated with the command
$ php artisan key:generate
  1. An application jwt key can be generated with the command
$ php artisan jwt:secret
  1. Execute following commands to install other dependencies
$ npm install
$ npm run dev

If you get an error like a PDOException try editing your .env file and change DB_HOST=127.0.0.1 to DB_HOST=localhost or DB_HOST=mysql (for docker-compose environment).

Development

# build and watch
npm run watch

# serve with hot reloading
npm run hot

Production

npm run production