Chat Application

A real-time chat application built with Go, featuring WebSocket connections and Redis pub/sub for scalability.

Features

  • Real-time messaging using WebSockets
  • Redis pub/sub for horizontal scaling
  • JWT authentication
  • Message history persistence
  • Typing indicators

Tech Stack

  • Backend: Go (Fiber framework)
  • Database: PostgreSQL
  • Cache: Redis
  • Frontend: Vanilla JavaScript
  • Deployment: Docker Compose

Screenshots

Chat Interface

Challenges & Solutions

One of the main challenges was handling multiple WebSocket connections efficiently…