XrossTalk Real-Time Dashboard Development

Siddhesh

Siddhesh Naik

๐Ÿ”€ XrossTalk

Real-time feature flag control & user presence dashboard using RabbitMQ, Redis, WebSockets, and Dockerized microservices.
XrossTalk is a backend-centric portfolio project that demonstrates real-time communication, presence tracking, and feature flag broadcasting using microservice architecture. It features two backend servers communicating over RabbitMQ, with Redis for presence tracking and WebSockets for live client-server communication. A React-based frontend (using ShadCN UI) serves as both an admin dashboard and a client interface.

๐Ÿ“ฆ Tech Stack

Layer Tech Server-Comet Node.js + Express + TypeScript + WebSocket Server-Orbit Python + FastAPI Messaging RabbitMQ (message queuing) Presence Redis (user tracking and activity logs) Frontend React, Vite + TailwindCSS + ShadCN UI Infra Docker, Docker Compose

๐ŸŽฏ Key Features

๐Ÿง‘โ€๐Ÿ’ป Admin dashboard to toggle feature flags in real time
๐ŸŸข Live presence tracking of connected users
๐Ÿ“‹ Activity logs showing user connection history and status updates
๐Ÿ”„ Cross-server message handling using RabbitMQ
๐Ÿ“ก WebSocket-based real-time UI updates
๐Ÿ” Redis-based presence system with per-user tracking
๐ŸŽจ Modern UI built using ShadCN + Tailwind CSS
๐Ÿงช Fully Dockerized for local or cloud deployment

๐Ÿงฉ Architecture Overview

                        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Admin UI โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ WebSocket
โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Server A โ”‚ โ—„โ”€โ”€โ”€โ”€ Feature flag control + logs
โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜
RabbitMQ โ—„โ”€โ”€โ”€โ”€โ” โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ–บ Redis
โ”‚ โ–ผ โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Server B โ”‚ โ”‚ Clients โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ–ฒ
โ”‚ WebSocket
โ–ผ
Client UI (uses flag if enabled)

๐Ÿ“ฆ Monorepo Structure

xrosstalk/
โ”œโ”€โ”€ apps/
โ”‚ โ”œโ”€โ”€ frontend/ # React App served via NGINX
โ”‚ โ”œโ”€โ”€ server-orbit/ # FastAPI Python server
โ”‚ โ””โ”€โ”€ server-comet/ # Express TS server
โ”œโ”€โ”€ infra/
โ”‚ โ”œโ”€โ”€ docker/ # Shared docker configs if any
โ”‚ โ””โ”€โ”€ dev/ # Local dev env files, .envs etc.
โ”œโ”€โ”€ docker-compose.yml
โ””โ”€โ”€ README.md

๐Ÿš€ Running Locally

Prerequisites

Docker + Docker Compose

1. Clone the repo

git clone https://github.com/your-username/xrosstalk.git
cd xrosstalk

2. Create a .env file from the example

cp .env.example .env

3. Start all services

docker compose up --build

๐Ÿ” Accessing the Services

http://localhost:3000 โ†’ Frontend
http://localhost:5000 โ†’ Express server
http://localhost:5001 โ†’ FastAPI server
Like this project

Posted Jul 2, 2025

Developed a real-time feature flag control and user presence dashboard using microservices.