Skip to content

AbdullahGhanem/laravel-spa-iview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Sponsor

💚️ Become a Sponsor

About

Laravel 5 Boilerplate / Starter kit with iview

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published