Skip to content

A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js

License

Notifications You must be signed in to change notification settings

amcosta/spa-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codecast's SPA Starter Kit

A highly opinionated Single Page Application starter kit built on top of Vue.js and Laravel.

This package contains two separate projects to act as a starting point for a Single Page Application: a Vue.js project (created with vue-cli + webpack template) and a Laravel 5.3 project.

They're not just freshly created projects but a fully working application that can be modified and expanded to become your own application.

Features

  1. Client side
    • Vue.js 2.0 project create with vue-cli + webpack template
    • Centralized state management with Vuex
    • Routes management with Vue-router
    • Authentication with JWT
    • HTTP requests with Axios
    • ESList, no semi-colons
  2. Server side
    • Laravel 5.3
    • Authentication with JWT
    • Web service RESTful with Dingo (soon)

Prerequisites

Make sure you have installed Node and NPM (latest versions) as well as PHP 7 and MySQL.

Installation

  1. Client side
    • With Terminal cd client && npm i && npm run dev. Alternatively you can use Yarn: cd client && yarn && npm run dev. More info here: https://yarnpkg.com/.
  2. Server side
    • With Terminal cd webservice && composer install && php artisan serve.

Usage

  1. Client side
  2. Server side

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Fábio Vedovelli

License

Licensed under the MIT license.

About

A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 60.1%
  • JavaScript 19.1%
  • Vue 17.7%
  • HTML 2.0%
  • Other 1.1%