Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avin/laravel-chat-example
Example of real time chat application basen on Laravel, React, Reflux and Socket.IO
https://github.com/avin/laravel-chat-example
Last synced: 1 day ago
JSON representation
Example of real time chat application basen on Laravel, React, Reflux and Socket.IO
- Host: GitHub
- URL: https://github.com/avin/laravel-chat-example
- Owner: avin
- Created: 2015-09-30T10:35:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-30T10:35:54.000Z (about 9 years ago)
- Last Synced: 2023-02-26T16:32:02.952Z (over 1 year ago)
- Language: JavaScript
- Size: 2.2 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Laravel real time chat
Example of real time chat application basen on Laravel, React, Reflux and Socket.IO.
Main JS app code is in resources/app/js## Installation
Install global webpack and gulp
```sh
$ npm install -g gulp webpack
```
Install dependencies
```sh
$ composer install
$ npm install
```
Build assets
```sh
$ gulp && webpack
```
Install DB
```sh
$ php artisan migrate
```## Usage
Start laravel queue listener
```sh
$ php artisan queue:listen
```
Start node.js socket server
```sh
$ node ./server.js
```
Enjoy!