Live Wall

Live Connection Wall

The Live Connection Wall is a real-time, interactive network graph that visualizes connections being made at BizTech events. When two people tap their NFC cards together, a new edge appears on the wall instantly. It's one of the most technically impressive features in the codebase.


How It Works

Here is the full journey of a connection:

  1. Person A scans Person B's NFC card → The phone opens Person B's profile URL
  2. The frontend calls POST /interactions with the connection details
  3. The backend saves the connection in DynamoDB and broadcasts it via WebSocket
  4. The Live Wall receives the WebSocket message and animates a new node + edge on the graph
NFC TapProfile PagePOST /interactions → DynamoDB + WebSocket BroadcastLive Wall renders it

Two versions

There are two wall components: a 2D version (ConnectionWall.tsx, ~2800 lines) and a 3D version (3DConnectionWall.tsx, ~1100 lines). They share the same backend and WebSocket protocol. The 2D version has more features (search, analytics, path finder, cluster detection). The 3D version uses Three.js for a more immersive look.


Key Files

FileWhat it does
src/components/LiveWall/ConnectionWall.tsxMain 2D wall component (the big one)
src/components/LiveWall/3DConnectionWall.tsx3D variant using Three.js
src/components/LiveWall/ForceGraph2DClient.tsxThin wrapper around react-force-graph-2d
services/interactions/handler.jsBackend HTTP + WebSocket handlers
services/interactions/helpers.jsConnection logic, WebSocket broadcasting, DynamoDB persistence
services/interactions/constants.jsCurrent event ID, company lists for quests

What's Covered in This Section

Frontend Architecture

Graph library, data model, state management, and configuration tunables.

Key Features

All 14 features: WebSocket, spotlight, leaderboard, search, clusters, heatmap, and more.

Backend & WebSocket

Interactions service, database tables, connection flow, and WebSocket protocol.

Customization & Reference

3D version, URL parameters, keyboard shortcuts, common tasks, and tips.

Previous
Deployment