DEV Community

Building Relay: A Realtime Chat App from Scratch Series' Articles

Back to Nikhil Sharma's Series
I Built a Real-Time Chat App from scratch - Here's What I Learned
Cover image for I Built a Real-Time Chat App from scratch - Here's What I Learned

I Built a Real-Time Chat App from scratch - Here's What I Learned

2
Comments
4 min read
The WebSocket Auth Problem: Cookies vs. Bearer Tokens
Cover image for The WebSocket Auth Problem: Cookies vs. Bearer Tokens

The WebSocket Auth Problem: Cookies vs. Bearer Tokens

1
Comments
4 min read
The Stale Closure Bug That Haunted My Chat App
Cover image for The Stale Closure Bug That Haunted My Chat App

The Stale Closure Bug That Haunted My Chat App

2
Comments
3 min read
Why I Chose a Dual Protocol Architecture: REST + WebSockets
Cover image for Why I Chose a Dual Protocol Architecture: REST + WebSockets

Why I Chose a Dual Protocol Architecture: REST + WebSockets

2
Comments
4 min read
Why I Ditched Socket.IO for Raw WebSockets (And What I Learned)
Cover image for Why I Ditched Socket.IO for Raw WebSockets (And What I Learned)

Manual reconnection and buffering gaps

Why I Ditched Socket.IO for Raw WebSockets (And What I Learned)

9
Comments 12
4 min read
How Messages Actually Flow in a Custom Real-Time Chat App
Cover image for How Messages Actually Flow in a Custom Real-Time Chat App

How Messages Actually Flow in a Custom Real-Time Chat App

2
Comments
5 min read