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:

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

Discussion (0)