An open API service indexing awesome lists of open source software.

https://github.com/ethiel97/laravel_pusher_axios

A Laravel Vue.js project using axios to handle http requests and Vuex to manage state
https://github.com/ethiel97/laravel_pusher_axios

axios laravel vuejs-components vuejs2 vuex

Last synced: about 2 months ago
JSON representation

A Laravel Vue.js project using axios to handle http requests and Vuex to manage state

Awesome Lists containing this project

README

        

## Handle http requests in a Laravel Vue.js app with Axios.

A Laravel Vue.js project using axios to handle http requests and Vuex to manage state.

![application screenshot](public/images/demo.gif "Realtime search engine with Laravel and Pusher")

[Read the tutorial](https://pusher.com/tutorials/laravel-vue-axios)

## Getting Started
Make sure you have `npm` and `composer` on your local machine

1. Clone this repository and cd into it
2. Run `composer install` and `npm install` to download laravel dependencies
3. Run `php artisan key:generate` to generate a key for the app
5. Set up your database in your `.env` file and run php `php artisan migrate --seed`
6. Execute `npm run dev` to build project assets
7. Execute `php artisan serve` to run the project in your browser
8. See the [tutorial](https://pusher.com/tutorials/laravel-vue-axios) for useful notes

### Prerequisites

* Laravel
* Vue
* Vuex
* npm

## Built With

* [Laravel](https://laravel.com/) - Beautiful Php framework
* [Vue](https://vuejs.org/) - A Great reactive Js framework
* [Vuex](https://vuejs.org/) - Vuejs state management made simple
* [Bootstrap](https://getbootstrap.com) - A beautiful css framework
* [Axios](https://vuejs.org/) - A Js library to handle ajax requests easily