P2P Chat App
Real-time chat.
A real-time messaging application designed to explore WebSockets synchronization, scalable messaging architecture, authentication workflows, and Redis caching.
The Problem
Syncing real-time messages across thousands of concurrent chat rooms without high database polling cost or message dropouts requires solid pub/sub routing and low latency network sockets.
The Solution
Built a Node.js and Express backend that leverages Socket.io WebSockets connections. Integrates Redis as a key-value store and message broker for scaling chat state, and secures endpoints using JWT-based token exchanges and OAuth login interfaces.
Core Features
Real-Time Message Sync
Coordinates low-latency WebSockets connections for active conversation syncing.
Redis Pub/Sub Message Broker
Integrates Redis caching to manage state synchronization across multiple server nodes.
Authentication & OAuth
Secures user profiles and session channels with token-based JWT and Google OAuth logic.
Media & File Sharing
Supports sharing file nodes, user images, and audio voice messages across active chat rooms.