Dhaka--:--
All projects

08 / 08 · Realtime · WebSockets

Chit-Chat

Low-latency real-time messenger with WebSockets & typing presence

Year
2024
Type
Community
Role
Full-stack engineer
Status
Live
Chit-Chat interface
View full resolution

Overview

A responsive, full-duplex real-time chat application built for instant communication. Powered by Socket.io and Node.js/Express, the platform features private instant messaging, active user presence states, typing notifications, and persistent chat history in MongoDB Atlas.

  • React
  • Node.js
  • Express
  • Socket.io
  • MongoDB
  • Tailwind CSS
  • Zustand
Latency
< 80 ms
Protocol
WebSockets
Status
Typing & Read
State
Zustand

Engineering decisions

WebSockets

WebSocket Duplex Relays

Low-latency Socket.io connection pool transmitting encrypted message payloads with read receipts under 80ms.

Database

Compound Indexed History

MongoDB query optimization delivering smooth pagination across thousands of chat messages without DB lockups.

  1. 01

    Bi-directional WebSocket event channels for instant messaging, broadcast user presence, and real-time typing indicators.

  2. 02

    Stateless Express authentication middleware validating JWT bearer tokens before WebSocket handshake.

  3. 03

    MongoDB chat schema with compound indexing on conversation participants for high-throughput pagination.

Screens & Walkthrough

Production gallery(1 high-res captures)

Chit-Chat Messaging Application
Expand
Screen 01WebSockets

Next project

San Uni Academy

EdTech · Cloud Architecture