DEV Community

Jonathan Hernández
Jonathan Hernández

Posted on

Websockets Chat Sample

Image description

Hello Devs, I've written an example on how to use WebSockets using vanilla JavaScript. It's a simple webchat, the UI is inspired on the old XChat.

Here is the repo: https://github.com/ionmx/websockets-chat-sample

Take a look to server.js and client.js are self explanatory.

Top comments (0)