How abdullahhammad652-bot/autonomous-astronaut-health-monitoring-edge-ai-decision-support works
AstroPulse is an astronaut health-monitoring and medical decision-support application: crew members enter through the web/mobile UI, review health domains and AI triage, and can receive countermeasures or export a report. A separate Express service exposes cached vitals and asynchronous report-job endpoints. The excerpts show the frontend’s component wiring and selected backend calls; no frontend-to-API connection is evidenced, and the Android shell’s runtime behavior is not shown.
Main entry points: App.jsx Mission app · api.js HTTP API · AuthModal.jsx Crew authentication · index.js Express server
Components 25
Application Entry
- React mount
src/main.jsx - Mission app
src/App.jsx
Health Monitoring
- Command dashboard
src/components/CommandDashboard.jsx - Radiation tracker
src/components/RadiationTracker.jsx - Cardio and SANS
src/components/CardioSANS.jsx - Musculoskeletal tracker
src/components/MusculoTracker.jsx - Cognitive PVT
src/components/CognitivePVT.jsx - Daily check-in
src/components/DailyCheckIn.jsx - Telemetry canvas
src/components/TelemetryCanvas.jsx
Triage and Guidance
- Health risk model
src/ml/modelWeights.js - Vitals simulator
src/components/VitalsSimulator.jsx - Health suggestions
src/components/HealthSuggestions.jsx - Medical officer
src/components/AstroMedOfficer.jsx - Voice assistant
src/components/VoiceAIAssistant.jsx
Telemetry Service
- HTTP API
server/routes/api.js - Vitals cache
server/cache/redisCache.js - Background job queue
server/queue/jobQueue.js - Rate limiter
server/middleware/rateLimiter.js - Express server
server/index.js
User and Reporting
- Crew authentication
src/components/AuthModal.jsx - Biometric modal
src/components/BiometricModal.jsx - App header
src/components/Header.jsx - Theme switcher
src/components/ThemeSwitcher.jsx - Health PDF generator
src/utils/generateHealthPDF.js
Other components
- Crew member
Connections 24
- Crew member → React mount: opens app
- React mount → Mission app: renders
src/main.jsx - Mission app → Command dashboard: renders
src/App.jsx - Mission app → Radiation tracker: renders
src/App.jsx - Mission app → Cardio and SANS: renders
src/App.jsx - Mission app → Musculoskeletal tracker: renders
src/App.jsx - Mission app → Cognitive PVT: renders
src/App.jsx - Mission app → Daily check-in: renders
src/App.jsx - Mission app → Medical officer: renders
src/App.jsx - Mission app → Vitals simulator: renders
src/App.jsx - Mission app → Voice assistant: renders
src/App.jsx - Mission app → Crew authentication: renders
src/App.jsx - Mission app → Health risk model: predicts risk
src/App.jsx - Cardio and SANS → Telemetry canvas: uses
src/components/CardioSANS.jsx - Vitals simulator → Health risk model: uses model
src/components/VitalsSimulator.jsx - Command dashboard → Health PDF generator: exports report
src/components/CommandDashboard.jsx - Health PDF generator → Health suggestions: gets suggestions
src/utils/generateHealthPDF.js - Crew authentication → Biometric modal: opens
src/components/AuthModal.jsx - Crew authentication → Theme switcher: uses
src/components/AuthModal.jsx - App header → Theme switcher: uses
src/components/Header.jsx - Express server → Rate limiter: applies
server/index.js - Express server → HTTP API: mounts routes
server/index.js - HTTP API → Vitals cache: reads and writes
server/routes/api.js - HTTP API → Background job queue: enqueues jobs
server/routes/api.js