Getting Started With Node.js and WebSockets

Let’s make a chat playground

Mike Cronin
Level Up Coding
Published in
5 min readFeb 24, 2020

--

WebSockets are the edgy younger sibling of http. They let you maintain an open connection for real time updates. Let’s make a simple chatroom that just displays messages from users. To keep this short, I won’t go into much besides the implementation, so if you need background info check out this explanation.

--

--

I’m Mostly Focused on JS and web development, but anything coding related is fair game