How geeick/roadmap-app works
This is a patient-facing care-roadmap app for people and families navigating selected neurological diagnoses. After sign-in or account creation, the app selects a diagnosis-specific roadmap; users open a step to browse matching care, support, education, and research listings. Authentication and listing retrieval use Supabase. The graph reflects the sampled frontend and explicit module references; the schema file is present in the tree, but its contents were not sampled, so schema details are not inferred.
Main entry points: App.tsx App and route state · auth.ts Authentication service · AuthForm.tsx Sign-in form · db.ts Listing queries
Components 12
Patient experience
- App entry
src/main.tsx - App and route state
src/App.tsx - Sign-in form
src/AuthForm.tsx - Roadmap view
src/Roadmap.tsx - Step and listing cards
src/StepPage.tsx
Care roadmap content
- Diagnosis roadmaps
src/data.ts - Curated listing data
src/seed.ts
Application services
- Authentication service
src/auth.ts - Listing queries
src/db.ts - Supabase client
src/supabase.ts
Hosted data
- Supabase hosted data
Other components
- Patient or family
Connections 15
- Patient or family → App entry: opens app
- App entry → App and route state: renders
src/main.tsx - App and route state → Authentication service: loads session
src/App.tsx - App and route state → Sign-in form: renders when unauthenticated
src/App.tsx - Sign-in form → Authentication service: signs in or up
src/AuthForm.tsx - Sign-in form → Diagnosis roadmaps: offers diagnoses
src/AuthForm.tsx - App and route state → Diagnosis roadmaps: selects diagnosis
src/App.tsx - App and route state → Roadmap view: renders roadmap
src/App.tsx - App and route state → Step and listing cards: renders selected step
src/App.tsx - Step and listing cards → Listing queries: fetches listings
src/StepPage.tsx - Authentication service → Supabase client: uses client
src/auth.ts - Listing queries → Supabase client: uses client
src/db.ts - Supabase client → Supabase hosted data: connects to
src/supabase.ts - Authentication service → Supabase hosted data: reads profiles
src/auth.ts - Listing queries → Supabase hosted data: reads and inserts listings
src/db.ts