Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lawrence615/laravel5-broadcasting

This is a sample application made using Laravel 5.4 and Vue.js to toy with Broadcasting in Laravel and Vue.
https://github.com/lawrence615/laravel5-broadcasting

laravel54 vue-chartjs vuejs2

Last synced: about 2 months ago
JSON representation

This is a sample application made using Laravel 5.4 and Vue.js to toy with Broadcasting in Laravel and Vue.

Awesome Lists containing this project

README

        

## About Project

This is a Laravel application to work with laravel broadcasting from the backend to the client side.The client side is on Vue and it displays data on bar chart.

## Installation
1. Run ```composer install``` and ```npm install```
2. Run ```npm run watch```
3. Copy .env.example to .env and change the BROADCAST_DRIVER to redis and REDIS_PORT to the one youur redis port is running on.
4. In development, start the queue listener with ```php artisan queue:listen```
5. Additionally, start the laravel echo server with the command ```laravel-echo-server start```
6. Last but not least, serve the application ```php artisan serve``` and view it on the browser

## Demo
![Screenshot 1](https://github.com/lawrence615/laravel5-broadcasting/blob/master/screenshots/demo.gif)