How rubivssingh281-lab/terraform-titans works
EcholytiX is a browser-based assistive communication app: patients turn blinks, hand signs, Morse input, or prepared phrases into spoken communication, with phrase history and remote-device support. The sampled App routes users to the communication modes and sends authentication and phrase-history requests to the Express server; the server calls SQLite helpers. README documents sign recognition, caregiver alerts, and remote mode, but their implementation details were not sampled, so only documented subsystem links are shown.
Main entry points: App.tsx App shell · server.ts API and sessions · MorseTranslator.tsx Manual Morse · BlinkToText.tsx Blink Morse
Components 17
Communication app
- App shell
src/App.tsx - Blink Morse
src/components/BlinkToText.tsx - Sign language
src/components - Manual Morse
src/components/MorseTranslator.tsx - Morse mapping
src/utils/morse.ts - Phrase speech
src/components/TextToSpeech.tsx - Speech and tones
src/utils/sound.ts - Emergency SOS
src/components/SosModal.tsx - Remote sender
src/components/RemoteSender.tsx - Remote receiver
src/components/RemoteReceiver.tsx - Remote events
src/utils/remote.ts - Patient access
src/components
Backend services
- API and sessions
server.ts
Persisted data
- Database helpers
database.ts - SQLite records
database.ts
Other components
- Patient
- Caregiver
Connections 26
- Patient → App shell: uses
- App shell → Blink Morse: routes to
- App shell → Sign language: routes to
- App shell → Manual Morse: routes to
- App shell → Phrase speech: routes to
- App shell → Emergency SOS: opens
- App shell → Remote sender: renders
- App shell → Remote receiver: routes to
- App shell → Patient access: renders
- Manual Morse → Morse mapping: translates
- Blink Morse → Speech and tones: speaks and beeps
- Manual Morse → Speech and tones: speaks and beeps
- Remote receiver → Speech and tones: speaks and beeps
- App shell → API and sessions: requests auth and phrases
- Blink Morse → API and sessions: saves phrase
- Manual Morse → API and sessions: saves phrase
- Sign language → API and sessions: saves phrase
- Phrase speech → API and sessions: saves phrase
- Remote sender → API and sessions: pairs remotely
- Remote receiver → API and sessions: receives events
- Blink Morse → Remote events: dispatches events
- Manual Morse → Remote events: dispatches events
- Remote events → API and sessions: posts events
- API and sessions → Database helpers: calls data helpers
- Database helpers → SQLite records: reads and writes
- Caregiver → Emergency SOS: receives alert