Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luxuereal/chat_laravel
https://github.com/luxuereal/chat_laravel
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/luxuereal/chat_laravel
- Owner: luxuereal
- Created: 2023-08-25T15:36:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-12T16:25:32.000Z (about 1 year ago)
- Last Synced: 2024-11-08T23:52:12.092Z (about 2 months ago)
- Language: PHP
- Size: 2.07 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- 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!