How to build a real time chat application using Node.JS + the ws package for the server, and using the WebSocket API on the client.
And hey! I finished it in less than 10 minutes! :)
NPM ws package: https://www.npmjs.com/package/ws
WebSockets: https://developer.mozilla.org/en-US/d...
Get the code from GitHub: https://github.com/GeekLaunch/ws-chat
http://geeklaunch.net/
Follow GeekLaunch on Twitter: / geek_launch
Support GeekLaunch on Patreon: / geeklaunch
GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), Java programming, tips for power users, among many others. Subscribe: New video every Wednesday!
Not a geek? Start today!