How saivijayragav/neuroscreen works
NeuroScreen is a web platform for AQ-10 autism screening and ongoing support, not a diagnostic service. The primary flow is a user completing the screening, receiving a risk estimate and recommendations, and reviewing screening history; the app also supports therapy tasks and games, analytics, AI clinical chat, and reports. The sampled routes show screening fallback behavior, authenticated history and task storage, and AI report/chat generation. Several UI-to-route connections and unsampled capabilities are represented from the README and file tree; their internal wiring was not verified.
Main entry points: auth.ts Authentication · db.ts PostgreSQL · generate-report/route.ts Report Generator · chat/route.ts Contextual Chat API
Components 24
Screening
- Screening Experience
autism-screening-app/app/dashboard/screening/page.tsx - AQ-10 Form
autism-screening-app/components/screening-form.tsx - Screening API
autism-screening-app/app/api/screening/route.ts - ML Prediction
autism-screening-app/ml-backend/api.py - Results View
autism-screening-app/components/results-dashboard.tsx - Screening History
autism-screening-app/app/dashboard/history/page.tsx - History API
autism-screening-app/app/api/screening-history/route.ts
Support and Therapy
- Clinical Support
autism-screening-app/app/dashboard/clinical-support/page.tsx - Clinical Chat API
autism-screening-app/app/api/clinical-chat/route.ts - Contextual Chat API
autism-screening-app/app/api/chat/route.ts - Therapy Games
autism-screening-app/app/dashboard/therapy-games/page.tsx - Scenario Generator
autism-screening-app/app/api/generate-scenarios/route.ts - Achievement Generator
autism-screening-app/app/api/generate-achievements/route.ts - Task Tracker
autism-screening-app/app/dashboard/progress/page.tsx - Task APIs
autism-screening-app/app/api/tasks/route.ts - Task Updates
autism-screening-app/app/api/tasks/[id]/route.ts
Progress and Reports
- Analytics Dashboard
autism-screening-app/app/dashboard/analytics/page.tsx - Report Generator
autism-screening-app/app/api/generate-report/route.ts - Reports and Export
autism-screening-app/app/dashboard/reports/page.tsx - Task Notifications
autism-screening-app/app/api/notifications/route.ts
Platform Services
- Authentication
autism-screening-app/lib/auth.ts - PostgreSQL
autism-screening-app/lib/db.ts
Other components
- User
- Groq LLM
Connections 32
- User → Screening Experience: completes
- Screening Experience → AQ-10 Form: presents
- AQ-10 Form → Screening API: submits answers
- Screening API → ML Prediction: requests prediction
- Screening API → Results View: returns result
- User → Screening History: reviews
- History API → Authentication: checks session
- History API → PostgreSQL: reads and writes
- User → Clinical Support: seeks guidance
- Clinical Chat API → Groq LLM: streams response
- Contextual Chat API → Authentication: checks session
- Contextual Chat API → PostgreSQL: reads user context
- Contextual Chat API → Groq LLM: streams response
- Clinical Support → Clinical Chat API: sends messages
- User → Therapy Games: plays activities
- Therapy Games → Scenario Generator: requests scenarios
- Therapy Games → Achievement Generator: requests achievements
- Achievement Generator → Groq LLM: generates milestones
- Scenario Generator → Groq LLM: generates scenarios
- User → Task Tracker: tracks progress
- Task APIs → Authentication: checks session
- Task APIs → PostgreSQL: reads and writes
- Task Updates → Authentication: checks session
- Task Updates → PostgreSQL: updates tasks
- Report Generator → Authentication: checks session
- Report Generator → PostgreSQL: reads history and tasks
- Report Generator → Groq LLM: generates summary
- User → Reports and Export: requests report
- Reports and Export → Report Generator: requests generation
- User → Analytics Dashboard: reviews progress
- Task Notifications → Authentication: checks session
- Task Notifications → PostgreSQL: reads pending tasks