Massay / laravel5.7-vue-cli3-boilerplate

Boilerplate / Starter kit. Laravel 5.7, Vue CLI 3 — Authentication with Email Verification. REST API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate / Starter kit. Laravel 5.7, Vue CLI 3 SPA with Auth.

Features

  • Laravel 5.7 Verification via API!
  • Forgot password and Reset password
  • Profile with user info
  • Password change
  • Auth through tymon/jwt-auth with refresh token functional
  • Auth route middleware(guest, auth)
  • Bootstrap 4
  • vue-notifications (with iziToast) There is no attachment to a particular library!
  • Vee-validate validation
  • Awesome vue-plugin-axios

Installation

  1. git clone https://github.com/iliyaZelenko/laravel5.7-vue-cli3-boilerplate.git
  2. composer install
  3. Edit .env to set your database connection details and FRONTEND_URL, APP_URL
  4. php artisan migrate:fresh --seed make tables and users
  5. cd frontend
  6. Edit .env to set your VUE_APP_BACKEND(backend url)
  7. yarn or npm install

Frontend is in the folder frontend, the following commands for this folder:

Compiles and hot-reloads for development

yarn serve // OR npm run install

For laravel server you can run php artisan serve(in root directory)

Compiles and minifies for production

yarn build // OR npm run build

You can open your finished build via laravel SpaController! The index file in app/resorces/views/index.blade.php content is generated via vue! Your css, js, img, etc... will be added to the app/public folder!

Lints and fixes files

yarn lint // OR npm run lint

Run your unit tests

yarn test:unit // OR npm run test:unit

Run your end-to-end tests

yarn test:e2e // OR npm run test:e2e

Also i have vuetify and nuxt + vuetify version! Let me know if you are interested in this project.

TODO (support me with a star)

  • i18n
  • avatar
  • select timezone and display date/time for user timezone
  • socialite
  • all users have public profile and own settings page
  • unit and end-to-end tests

About

Boilerplate / Starter kit. Laravel 5.7, Vue CLI 3 — Authentication with Email Verification. REST API.


Languages

Language:PHP 78.8%Language:Vue 18.6%Language:HTML 1.4%Language:CSS 1.2%