Back to projects

NestChat - Real-Time Messenger

A high-performance chat application leveraging Redis Pub/Sub and WebSockets for instantaneous, scalable communication.

About the Project

NestChat is a real-time messaging platform designed for speed. By utilizing Redis as a message broker and Socket.io for persistent connections, the app handles message delivery with sub-millisecond latency. The project focuses on horizontal scalability, ensuring that even as user traffic increases, the Pub/Sub architecture keeps chat rooms synchronized across multiple server instances. Authentication is handled via NextAuth with Google integration for a seamless onboarding experience.

Key Features & Implementation

Real-Time Sync: Sub-millisecond message delivery using Socket.io.

Redis Pub/Sub: Ensuring message persistence and cross-server synchronization.

Google OAuth: Secure and fast user authentication flow.

Presence Tracking: Real-time 'Online/Offline' status for all contacts.

Optimistic Updates: Instant UI feedback for sent messages before server confirmation.

Responsive Design: A desktop-class chat experience on mobile devices.

Visual Showcase

Login Page

Login Page

Google sign-in screen with NestChat branding.

Chat Interface

Chat Interface

Clean real-time chat UI with message bubbles and live typing.

dashboard

dashboard

dashboard you could see your recent chat.

friend request

friend request

friend request ui.

add friend

add friend

friend request ui.

Technologies

Next.jsTypeScriptRedisSocket.ioNextAuthTailwind CSSShadCN UI

Role

Fullstack Developer

Category

fullstack