GithubHelp home page GithubHelp logo

madin91 / laravel-vuejs-jwt-coreui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drunnkman/laravel-vuejs-jwt-coreui

0.0 0.0 0.0 2.22 MB

A boilerplate for a SPA Admin application with Laravel 5.6, VueJS, CoreUI and JWT authentication

License: MIT License

PHP 19.64% Vue 80.10% HTML 0.26%

laravel-vuejs-jwt-coreui's Introduction

Laravel 5.6 + CoreUI Admin Bootstrap + VueJS + JWT

What is this?

This is a boilerplate for a SPA Admin application with Laravel 5.6, VueJS, CoreUI and JWT authentication (hope it can save up some time for someone who's developing a project like that). It's using following open sources:

What have been implemented:

  • integrated Laravel 5.6 with tymon/jwt-auth. There are some small problems when integrate with this library, so I have to use the branch 'develop'.
  • integrated websanova/vue-auth with the current laravel-coreui-vue, now it can authenticate users from Laravel backend, and authorize on each Vue routes.
  • upgraded BootstrapVue to the latest version, fixed some issues during migration.
  • integrated laravel-permission to manage roles & permissions in the backend.
  • integrated vuex. Oh, I like the idea of Flux!
  • created some simple APIs in the backend to get test data (Users, Articles).
  • created some simple pages in the frontend to display test data. That is to demonstrate how to use vue-auth.
  • updated the SideBar.vue & nav.js to display each menu item based on user' roles.

Getting Started

composer install
cp .env.example .env
php artisan key:generate
php artisan jwt:secret
php artisan migrate:refresh --seed
npm install
npm run dev
php artisan serve

Data for testing:

License

The MIT License (MIT)

laravel-vuejs-jwt-coreui's People

Contributors

tonytip 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.