Skip to content

jioo/laravuetify

Repository files navigation

LaraVuetify

Laravel + Vuetify starter template

Build Status paypal

This Project is based on

Quick Demo

App Demo

Prerequisite

  1. Install Composer https://getcomposer.org/download/
  2. Install Node.js https://nodejs.org/en/download/
  3. Download any supported database provider: https://laravel.com/docs/5.7/database

Installation

# Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env

# Install all composer dependecies
composer install

# Generate a new application key
php artisan key:generate

# Generate a new JWT authentication secret key
php artisan jwt:secret

# Run the database migrations --set the database connection in .env before migrating--
php artisan migrate --seed

# Install node dependecies
npm i

Run

  • Admin account:
    • email: admin@gmail.com, password: 123456
  • User account:
    • email: jdoe@gmail.com, password: 123456
# Start the local development server: http://127.0.0.1:8000
php artisan serve

# build and watch
npm run watch

Test

# Run Feature tests
./vendor/bin/phpunit

Production

npm run production

Tips

  1. To enable login with github:
    • Create a New OAuth App and copy this configuration: Github App Config
    • Then update the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in .env file
  2. To send email in Reset Password module:
    • Update the email config in .env file with your gmail account Gmail Config
    • Allow your account to less secure app access Allow less secure app access
  3. Run php artisan config:cache after updating your .env file.
  4. It's recommended to have a clean database before seeding. You can refresh your migrations at any point to clean the database by running php artisan migrate:fresh --seed

Features

  • Laravel 5.7
  • Laravel-Permission
  • Socialite integration
  • Login, register and password reset
  • Pages with dynamic import and custom layouts
  • Authentication with JWT
  • Vue + VueRouter + Vuex + VeeValidate
  • Vuetify Material Design