How kalaiarashisb/real-time-chat-support-system-new works
This is a full-stack customer-support chat system: users authenticate in a React application, then use its queue, conversation, and administration screens against a Spring Boot REST API backed by MySQL. The documented product includes VIP-aware FIFO allocation, agent capacity and availability, session transfer, polling-based messaging and read receipts, notifications, SLA analytics, audit logs, configuration, and user/profile management. Frontend call relationships are based on sampled source references; backend feature coverage is based on the README, not inspected backend implementations.
Main entry points: realtimechatsupport Spring REST API · App.jsx Routes and shell · apiClient.js HTTP API client · userApi.js User and profile API
Components 24
Web application
- Routes and shell
frontend/src/App.jsx - Chat workspace
frontend/src/pages/Chats.jsx - Queue screen
frontend/src/pages/Queue.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Admin screens
frontend/src/pages - Login and registration
frontend/src/pages - HTTP API client
frontend/src/api/apiClient.js - Session API
frontend/src/api/sessionApi.js - User and profile API
frontend/src/api/userApi.js - Authentication API
frontend/src/api/authApi.js
Support operations
- Spring REST API
demo/src/main/java/com/realtimechatsupport - FIFO queue and allocation
demo/src/main/java/com/realtimechatsupport/service - Chat sessions and transfer
demo/src/main/java/com/realtimechatsupport/service - Messages and receipts
demo/src/main/java/com/realtimechatsupport/service - Agent availability
demo/src/main/java/com/realtimechatsupport/service - Analytics, audit, config
demo/src/main/java/com/realtimechatsupport/service - Users and profiles
demo/src/main/java/com/realtimechatsupport/service - Notifications
demo/src/main/java/com/realtimechatsupport/service
Identity and access
- Auth state
frontend/src/utils/auth.js - JWT security
demo/src/main/java/com/realtimechatsupport/security
Persistence
- MySQL
Other components
- Customer
- Support agent
- Administrator
Connections 32
- Customer → Routes and shell: uses
README.md - Support agent → Routes and shell: uses
README.md - Administrator → Routes and shell: uses
README.md - Routes and shell → Auth state: checks access
frontend/src/App.jsx - Routes and shell → Login and registration: routes to
frontend/src/App.jsx - Routes and shell → Chat workspace: routes to
frontend/src/App.jsx - Routes and shell → Queue screen: routes to
frontend/src/App.jsx - Routes and shell → Dashboard: routes to
frontend/src/App.jsx - Routes and shell → Admin screens: routes to
frontend/src/App.jsx - Login and registration → Authentication API: authenticates
frontend/src/pages/Login.jsx - Login and registration → Authentication API: registers
frontend/src/pages/Register.jsx - Chat workspace → Session API: loads sessions
frontend/src/pages/Chats.jsx - Queue screen → Session API: manages queue
frontend/src/pages/Queue.jsx - Chat workspace → User and profile API: loads users
frontend/src/pages/Chats.jsx - Queue screen → User and profile API: loads users
frontend/src/pages/Queue.jsx - Dashboard → Session API: loads sessions
frontend/src/pages/Dashboard.jsx - Dashboard → User and profile API: loads users
frontend/src/pages/Dashboard.jsx - Admin screens → User and profile API: manages accounts
frontend/src/pages/Users.jsx - HTTP API client → Auth state: reads token
frontend/src/api/apiClient.js - Authentication API → HTTP API client: sends requests
frontend/src/api/authApi.js - Session API → HTTP API client: sends requests
frontend/src/api/sessionApi.js - User and profile API → HTTP API client: sends requests
frontend/src/api/userApi.js - HTTP API client → Spring REST API: calls REST API
README.md - Spring REST API → JWT security: secures endpoints
README.md - Spring REST API → MySQL: persists data
README.md - Spring REST API → FIFO queue and allocation: provides
README.md - Spring REST API → Chat sessions and transfer: provides
README.md - Spring REST API → Messages and receipts: provides
README.md - Spring REST API → Agent availability: provides
README.md - Spring REST API → Analytics, audit, config: provides
README.md - Spring REST API → Users and profiles: provides
README.md - Spring REST API → Notifications: provides
README.md