← All projects
Advanced~20 hours

Realtime Chat App

WebSockets, presence, typing indicators — the kind of app that taught a generation about state.

Next.jsSocket.IORedis pub/sub

Build plan

  1. 1
    Set up an Express + Socket.IO backend
  2. 2
    Persist messages in Postgres, broadcast via Socket.IO
  3. 3
    Add typing indicators and online presence
  4. 4
    Scale across nodes with Redis pub/sub adapter
Stuck?

Open the playground and prototype the trickiest part first. Even 20 lines of working code beats a perfect plan that never runs.

Open Playground