Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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!