ReChat - RealTime Chat Application built with React & Laravel
First clone the repo
git clone https://github.com/irtiza90/ReChat
cd ReChat
- php 8.2+
- node.js (npm)
- composer
- redis server
- pusher credentials
This app was created in php8.2, with laravel 11, and has not been tested for lower versions.
now installing the dependencies:
composer install
npm install
# react dependencies
cd re-chat-client
npm install
Get your pusher app credentials then paste then in both .env files (/.env, /re-chat-client/.env)
(open separate terminals for each command here)
php artisan serve
php artisan queue:work redis
redis-server
Starting react server
cd re-chat-client
npm start
[ ] - store messages in temp buffer(client-site), to prevent message loss and retry sending