8000 GitHub - BaseMax/MessengerSocketWS: Design own Messenger Chatroom: This project took more than ten hours to try to design a native messaging infrastructure. (Own messenger project using Pure Web Socket, not Socket.IO)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Design own Messenger Chatroom: This project took more than ten hours to try to design a native messaging infrastructure. (Own messenger project using Pure Web Socket, not Socket.IO)

License

Notifications You must be signed in to change notification settings

BaseMax/MessengerSocketWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messenger WS Socket (Old OnSystem Chat)

This project took more than ten hours to try to design a native messaging infrastructure. Its database is a bit complicated, you can check and view its queries.

It was a very interesting and good experience.

Features

  • Pure websocket (Not socket.io)
  • Auth/Login
  • Chat
  • Private Chat
  • Group Chat
  • Auto-reconnect
  • Detect list of online users and active rooms

Preview client-side

Using

node app.js

Open the http://localhost:5000/ in the browser.

If you easily want to test and debug, there are some test links:

  • http://localhost:5000/?u=1
  • http://localhost:5000/?u=2
  • http://localhost:5000/?u=3
  • http://localhost:5000/?u=4

Database