Laravel Chat App is a realtime chat application built with Laravel, Inertia JS, and React JS. This project is an example of how to implement realtime chat application in Laravel using Soketi.
Source code : GitHub
Clone the repository
git clone https://github.com/raprmdn/laravel-chat-appGo to the project directory
cd laravel-chat-appInstall dependencies
# composer
composer install
# npm
npm installCopy .env.example to .env
cp .env.example .envGenerate application key
php artisan key:generateRun migration and seeder
# migration
php artisan migrate
# seeder
php artisan db:seedYou must install Soketi globally before running the application.
Install Soketi
npm install -g @soketi/soketiRun Soketi with custom configuration.
soketi start --config=soketi.config.jsonRun the application
# Start the development server
php artisan serve
# Run React JS
npm run dev




