alex996 / Vuewer

Laravel / Vue.js (+Vuex) / Bulma Task Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vuewer

Intro

Update: If you want to see a cleaner Vuex implementation, visit the vuex branch.

Vuewer is meant to demonstrate basic use of Vue.js in Laravel. It makes use of single-file components embedded into Blade and communicates with the API using Axios. This app will show you examples of parent-child communication, attribute binding, and many more.

Note: To keep it simple, we only make use of Laravel's built-in request-response system. If you want to scale up your API, you'd have to upgrade it to incorporate more features, such as transformers, pagination, or authentication. For starters, check out Incremental APIs series on Laracasts. If you want to jump right in and start coding, check out the awesome Dingo API package which already includes a ton of goodies like JWT Auth and Fractal out of the box.

Installation

  1. Run git clone https://github.com/alex996/Vuewer vuewer and cd vuewer
  2. Also run php artisan key:generate to safeguard against cipher exceptions
  3. Create a .env file and enter your DB credentials
  4. Finally, run php artisan migrate --seed
  5. (Optional) If you want to play with the code, don't forget npm install

About

Laravel / Vue.js (+Vuex) / Bulma Task Manager


Languages

Language:PHP 88.1%Language:Vue 10.4%Language:HTML 0.8%Language:ApacheConf 0.7%