Skip to content

A simple chat app with Laravel, Vue and some technologies like websockets...

Notifications You must be signed in to change notification settings

amirkhodabande/Dockerized-Realtime-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Realtime Chat

  • Laravel

  • VueJs

  • Laravel Web Sockets

  • Docker

If you dont know docker you can use the normal version of this project.

  1. Clone the project

  2. Run : docker-compose build && docker-compose up -d

  3. install composer dependencies via this command : docker-compose run --rm composer install

Change sql connection in your .env file DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret

  1. Connect to the data base and run database migration : docker-compose run --rm artisan migrate

  2. Run data base Seeder to make some fake users and messages : docker-compose run --rm artisan db:seed

  3. Serve the websockets server via this command : docker-compose run --rm artisan websockets:serve

  4. Go to '/laravel-websockets' and click connect button.

Done, go to the 'localhost/chat' and test the main chatroom.

Be Happy:)

alt alt

About

A simple chat app with Laravel, Vue and some technologies like websockets...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published