paint-brush
How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own by@smpnjn
252 reads

How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own

by Johnny Simpson10mApril 9th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A lot of the work we do with Javascript involves sending information back and forth from servers. You are probably familiar with the concept of APIs, which send data to servers or websites in a particular format, to get a specific response back. These are known as REST APIs. Although useful, they are not very good at constant streams of data. If you try to do something real-time with REST APIs, you're going to have a bad time. Fortunately, if we want a real-time connection with a user, we have an alternative, known as WebSockets.

Company Mentioned

Mention Thumbnail
featured image - How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own
Johnny Simpson HackerNoon profile picture
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Ktachibana
Nitter
Moomoo
Coffee-web
Cliexec
Trom