Realtime Chat
-
Laravel
-
VueJs
-
Laravel Web Sockets
-
Clone the project
-
install vendor packages via this command :
composer:install
- Connect your own data base and run database migration
:
php artisan migrate
- Run data base Seeder to make some fake users and messages
:
php artisan db:seed
- Serve the websockets server via this command
:
php artisan websockets:serve
- Go to '/laravel-websockets' and click connect button.
Done, go to the '/chat' and test the main chatroom.
Be Happy:)