A real-time team messaging platform built out of curosity.
Huddle is a backend-heavy chat application that implements the core infrastructure behind tools like Slack — WebSockets, Redis pub/sub, presence tracking, and a multi-service containerized architecture.
- Runtime: Bun + TypeScript
- Framework: Express 5
- Database: PostgreSQL via Prisma
- Cache / Pub-Sub: Redis
- Infra: Docker Compose, DigitalOcean, Caddy
- JWT + GitHub OAuth authentication
- Multi-tenant workspaces with invite system
- Public channels with real-time messaging via WebSockets
- Direct messages between workspace members
- Online/offline presence tracking
- Cursor-based pagination for message history
- Redis pub/sub for horizontal scaling
docker compose up --buildWork in progress.