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.
- 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
- Server side
- Laravel 5.3
- Authentication with JWT
- Web service RESTful with Dingo (soon)
Make sure you have installed Node and NPM (latest versions) as well as PHP 7 and MySQL.
- 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/.
- With Terminal
- Server side
- With Terminal
cd webservice && composer install && php artisan serve
.
- With Terminal
- Client side
- Your application will be available on http://localhost:8080
- Server side
- Your application will be available on http://localhost:8000. API endpoint is http://localhost:8000/api
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Licensed under the MIT license.