Back to selected work

Relay

A team workspace for channels, direct messages, threads, and member coordination.

Team messaging / Collaboration

Relay homepage headline paired with a real engineering-channel workspace screenshot

Technical profile

Interface
  • Next.js 16
  • React 19
  • TypeScript
API and real time
  • Express 5
  • Socket.IO
  • Redis
Persistence
  • PostgreSQL
  • Prisma
Focus
  • Real-time messaging
  • Reliable delivery
  • Reconnect sync

Overview

Relay is a messaging workspace for small remote teams, built around fast conversation and a dependable history across sessions and reconnects.

Problem

Team conversation needs to feel immediate, but messages also need to survive retries, dropped connections, and multiple devices. A real-time event alone is not a reliable record of a conversation.

Solution

Relay combines channels and one-to-one messages with replies, reactions, attachments, search, presence, typing indicators, and unread state. The interface keeps conversation and team context close together.

My role

I developed the team-messaging product and refined the channel and message interfaces, including the composer, attachments, reactions, and account flows.

Engineering decisions

PostgreSQL is the durable source of truth; Socket.IO delivers immediate updates. Optimistic sends are reconciled with server IDs and timestamps, and client operation IDs prevent duplicate messages after retries.

Redis coordinates ephemeral presence and typing across sessions. Server-side authorization covers requests, socket events, rooms, files, and queries, while reconnect sync restores missed durable events.

Product view

The cover pairs the public homepage with an engineering channel. The workspace view shows the message stream, replies, member details, and composer together rather than treating each action as a separate screen.