All Projects → sagarankoliya → realtime-private-chat-nodejs-socketio-vuejs-laravel

sagarankoliya / realtime-private-chat-nodejs-socketio-vuejs-laravel

Licence: other
Realtime Private Chat NodeJS SocketIO Vue JS Laravel

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
Vue
7211 projects

Projects that are alternatives of or similar to realtime-private-chat-nodejs-socketio-vuejs-laravel

Phpsocket.io
A server side alternative implementation of socket.io in PHP based on workerman.
Stars: ✭ 2,026 (+2713.89%)
Mutual labels:  socket-io, realtime
flood-protection
Flood protection for realtime applications
Stars: ✭ 19 (-73.61%)
Mutual labels:  socket-io, realtime
Rtcode
Real time code sharing web application
Stars: ✭ 170 (+136.11%)
Mutual labels:  socket-io, realtime
Aaronvandenberg.nl
⚛️ Web Developers portfolio build with Gatsby.js & React.js
Stars: ✭ 98 (+36.11%)
Mutual labels:  socket-io, realtime
aircnc
☕ Airbnb like (Air Coffee & Code) to booking spots for developers using ReactJS, React Native, Node.js and more.
Stars: ✭ 37 (-48.61%)
Mutual labels:  socket-io, realtime
Rltm.js
Easily swap realtime providers with a single code base
Stars: ✭ 106 (+47.22%)
Mutual labels:  socket-io, realtime
realtime-geolocation
Geolocation tracking app with Node.js, Socket.io, & AngularJS
Stars: ✭ 29 (-59.72%)
Mutual labels:  socket-io, realtime
Beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps.
Stars: ✭ 1,056 (+1366.67%)
Mutual labels:  socket-io, realtime
SocketIOUnity
A Wrapper for socket.io-client-csharp to work with Unity.
Stars: ✭ 69 (-4.17%)
Mutual labels:  socket-io, realtime
turven
turven lets people on your website see how many other people are also reading the same page 👀
Stars: ✭ 39 (-45.83%)
Mutual labels:  socket-io, realtime
Simple Realtime Message Socketio Nodejs Ci
🔌 Simple realtime push message using Socket.IO (Node.JS) integrated with PHP (CodeIgniter) and database MySQL
Stars: ✭ 85 (+18.06%)
Mutual labels:  socket-io, realtime
syncwatch
Browser extension to watch videos together
Stars: ✭ 48 (-33.33%)
Mutual labels:  socket-io, realtime
Realtime Rails
Realtime rails support. See website for documentation:
Stars: ✭ 77 (+6.94%)
Mutual labels:  socket-io, realtime
Codenames
Stars: ✭ 159 (+120.83%)
Mutual labels:  socket-io, realtime
Vynchronize
Watch videos with friends online with the new real time video synchronization platform
Stars: ✭ 1,072 (+1388.89%)
Mutual labels:  socket-io, realtime
Radar
Arduino Servo controller with Ultrasonic sensor, that will send distance value from sensor to Node.js via USB serial and leveraging socket.io to send the data to browser in realtime.
Stars: ✭ 24 (-66.67%)
Mutual labels:  socket-io, realtime
Realtime Newsapi
Financial News Aggregator - Real Time & Query API for Financial News
Stars: ✭ 34 (-52.78%)
Mutual labels:  socket-io, realtime
Progress Bot
High-tech weaponized moe progress delivery bot for IRC, Discord, and web
Stars: ✭ 38 (-47.22%)
Mutual labels:  socket-io, realtime
Online-Chess
A chess website where people can play against each other online.
Stars: ✭ 28 (-61.11%)
Mutual labels:  socket-io, realtime
TweetMigration
A WebGL heatmap of global Twitter activity
Stars: ✭ 42 (-41.67%)
Mutual labels:  socket-io, realtime

Realtime Private Chat

Here I have showing you that how to create realtime private chat application using socket io, Node JS, VueJS, Laravel.


System Requirements

The following are required to function properly.

  • Node v8.4.0+
  • Socket io v2.0
  • Vue.js v2.4.0
  • Laravel 5.4+
Chat application features
  1. Private chatting
  2. File send and receive
  3. Online Offline status
  4. Typing indicator
  5. Messages stored in database(MYSQL)
Getting Started

Step : 1

git clone https://github.com/sagarankoliya/realtime-private-chat-nodejs-socketio-vuejs-laravel.git

Step : 2

Go to project directory using Terminal / CMD

composer install

Step : 3

In project directory find .env.example and rename to .env

Generate laravel application key

php artisan key:generate

Also change DB_DATABASE, DB_USERNAME, DB_PASSWORD in .env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your db name
DB_USERNAME=your db username
DB_PASSWORD=your db password

Also add below line in your .env

WS_URL=http://localhost:3000/

Step : 4

Run Migration & Seeder

php artisan migrate

php artisan db:seed --class=UserTableSeeder

Step : 5

Go to project directory using Terminal / CMD

Open nodejs folder

install node dependencies

npm install

Step : 6

In nodejs directory open config/dev.json file

change database, user, password

below database configuration is same as above.

"host": "localhost",
"port": 3306,
"user": "your db username",
"password": "your db password",
"database": "your db name"

Step : 7

Start Node JS Chat Server

Go to project directory using Terminal / CMD Open nodejs folder

export NODE_ENV=dev
npm start

Start Laravel Server

Open Second Terminal / CMD Go to project directory

php artisan serve

Open http://127.0.0.1:8000 url in multipal browser

Login with below Users

No Username Password
1 [email protected] 123456
2 [email protected] 123456
3 [email protected] 123456

Login at least 2 user in different browser.

After login you can see all users in right sidebar click anyone user and start private chatting.

Thats it.

Feel free to contact me if you have any query. (^_^)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].