Giter VIP home page Giter VIP logo

laravel5.7-vue-cli3-boilerplate's Introduction

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

laravel5.7-vue-cli3-boilerplate's People

Contributors

iliyazelenko avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.