This is a real-time web chat app with Laravel, Reverb & Redis.
- PHP
- Laravel
- Reverb ( WebSocket, Laravel-Echo )
- Redis
- Redis-server
- Js
- Alpine.js
- Tailwind - Flowbite
Clone the project repository by running the command below if you use SSH
git clone [email protected]:Mohsen-mhm/ChitLara.git
If you use https, use this instead
git clone https://github.com/Mohsen-mhm/ChitLara.git
After cloning, run:
composer install
and:
npm install
Duplicate .env.example
and rename it .env
Then run:
php artisan key:generate
- For Linux
- For Mac
- For Windows - Use This repo to download and install Redis on Windows
Be sure to fill in your database details in your .env
file before running the migrations:
php artisan migrate
Run Redis server in CLI :
redis-server
Run npm in CLI :
npm run dev #For development server
npm run build #For production server
And finally, start the application:
php artisan storage:link
php artisan serve
php artisan reverb:start
visit http://localhost:8000 to see the application in action.