How ashutosh-deorukhkar/bridgetalk works
BridgeTalk is a prototype web companion for communication practice and caregiver-facing progress views. The principal workflow is login, route into the conversation screen, send a message to the backend, and receive an AI-generated reply. The dashboard currently displays sample activities and profile content rather than computed analytics. README capabilities such as adaptive learning, clinician customization, and family guidance are product goals, but their implementation is not evidenced in the sampled source. The configured PostgreSQL pool has no demonstrated caller.】【:】【“】【graph":{"groups":[{"id":"web","label":"Web application"},{"id":"conversation","label":"Conversation service"},{"id":"insights","label":"Progress views"},{"id":"integrations","label":"External services"}],"nodes":[{"id":"user","label":"User","groupId":null,"path":null,"shape":"circle"},{"id":"login","label":"Login form","groupId":"web","path":"client/src/pages/Login.jsx","shape":"box"},{"id":"router","label":"Route controller","groupId":"web","path":"client/src/App.jsx","shape":"box"},{"id":"shell","label":"Application shell","groupId":"web","path":"client/src/components/Layout.jsx","shape":"box"},{"id":"side-nav","label":"Side navigation","groupId":"web","path":"client/src/components/SideNav.jsx","shape":"box"},{"id":"top-nav","label":"Top navigation","groupId":"web","path":"client/src/components/TopNav.jsx","shape":"box"},{"id":"chat-ui","label":"Conversation UI","groupId":"conversation","path":"client/src/pages/Conversation.jsx","shape":"box"},{"id":"chat-api","label":"Chat API","groupId":"conversation","path":"server/index.js","shape":"box"},{"id":"llm","label":"OpenAI model","groupId":"integrations","path":null,"shape":"hexagon"},{"id":"dashboard","label":"Dashboard view","groupId":"insights","path":"client/src/pages/Dashboard.jsx","shape":"box"},{"id":"db-pool","label":"PostgreSQL pool","groupId":"integrations","path":"server/db/database.js","shape":"database"}],"edges":[{"from":"user","to":"login","label":"enters credentials","style":"solid","evidencePath":"client/src/pages/Login.jsx"},{"from":"login","to":"router","label":"signals login","style":"solid","evidencePath":"client/src/App.jsx"},{"from":"router","to":"shell","label":"renders protected routes","style":"solid","evidencePath":"client/src/App.jsx"},{"from":"router","to":"login","label":"renders login route","style":"solid","evidencePath":"client/src/App.jsx"},{"from":"router","to":"dashboard","label":"routes to","style":"solid","evidencePath":"client/src/App.jsx"},{"from":"router","to":"chat-ui","label":"routes to","style":"solid","evidencePath":"client/src/App.jsx"},{"from":"shell","to":"side-nav","label":"renders","style":"solid","evidencePath":"client/src/components/Layout.jsx"},{"from":"shell","to":"top-nav","label":"renders","style":"solid","evidencePath":"client/src/components/Layout.jsx"},{"from":"user","to":"chat-ui","label":"composes message","style":"solid","evidencePath":"client/src/pages/Conversation.jsx"},{"from":"chat-ui","to":"chat-api","label":"POSTs message","style":"solid","evidencePath":"client/src/pages/Conversation.jsx"},{"from":"chat-api","to":"llm","label":"requests completion","style":"solid","evidencePath":"server/index.js"},{"from":"chat-api","to":"chat-ui","label":"returns reply","style":"solid","evidencePath":"client/src/pages/Conversation.jsx"}]}}}
Main entry points: App.jsx Route controller · Conversation.jsx Conversation UI · Layout.jsx Application shell · index.js Chat API
Components 11
Web application
- Login form
client/src/pages/Login.jsx - Route controller
client/src/App.jsx - Application shell
client/src/components/Layout.jsx - Side navigation
client/src/components/SideNav.jsx - Top navigation
client/src/components/TopNav.jsx
Conversation service
- Conversation UI
client/src/pages/Conversation.jsx - Chat API
server/index.js
Progress views
- Dashboard view
client/src/pages/Dashboard.jsx
External services
- OpenAI model
- PostgreSQL pool
server/db/database.js
Other components
- User
Connections 12
- User → Login form: enters credentials
client/src/pages/Login.jsx - Login form → Route controller: signals login
client/src/App.jsx - Route controller → Application shell: renders protected routes
client/src/App.jsx - Route controller → Login form: routes to
client/src/App.jsx - Route controller → Dashboard view: routes to
client/src/App.jsx - Route controller → Conversation UI: routes to
client/src/App.jsx - Application shell → Side navigation: renders
client/src/components/Layout.jsx - Application shell → Top navigation: renders
client/src/components/Layout.jsx - User → Conversation UI: composes message
client/src/pages/Conversation.jsx - Conversation UI → Chat API: POSTs message
client/src/pages/Conversation.jsx - Chat API → OpenAI model: requests completion
server/index.js - Chat API → Conversation UI: returns reply
client/src/pages/Conversation.jsx