wirgen / laravuetify

Beautiful dashboard for Laravel built by VueJS.

Stars
0

LaraVuetify

laravel vue vuetify license

A Simple SPA based on Laravel and VueJS with VuetifyJS.

Info

Prerequiries

  • PHP 7.2
  • MySQL/MariaDB
  • Composer
  • NodeJS
  • Yarn

Installation

  • Clone the repository
  • Installer back dependencies with composer install
  • Install front dependencies with npm i/yarn install
  • Copy file .env.example in .env and add following information:
    • Database credentials (DB_HOST, DB_PORT, ...)
    • Application url (APP_URL)
    • Base application path (BASE_PATH)
    • Base api path (MIX_BASE_API)
  • Generate application key with php artisan key:generate
  • Generate JWT key with php artisan jwt:secret
  • Launch migrations with php artisan migrate --seed.
  • Build front with npm run dev
  • Create first account with php artisan init-admin

Configuration

You can change the length of time (in minutes) that the token will be valid for by changin the JWT_TTL value in the .env file.