Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lawrence615/laravel5-broadcasting
- Owner: lawrence615
- Created: 2017-06-30T09:13:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T13:36:50.000Z (over 7 years ago)
- Last Synced: 2024-10-11T10:42:10.197Z (3 months ago)
- Topics: laravel54, vue-chartjs, vuejs2
- Language: PHP
- Size: 1.43 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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)