How atiliaa2343/c-otter works
CE-Otter is a Petersburg-area healthcare information and community mobile app. Residents browse campus information and health resources, use AI search, and access health forms/data; administrators have a separate authenticated content-management area. The graph shows the documented app shell and AI-search implementation, plus major README capabilities. Several screen and service implementations were not sampled, so their internal calls and some storage wiring are intentionally left unspecified.
Main entry points: index.tsx App navigation · index.js AI search API · dashboard.tsx Admin routes · health.ts Health service
Components 25
Mobile experience
- App navigation
app/index.tsx - Campus home
components/HomePage.tsx - Research
components/Research.tsx - Community
components/Community.tsx - Faculty directory
components/Faculty.tsx - Contact and hours
components/Contact.tsx - Coloring book
components/ColoringPage.tsx
Health services
- Health resources
components/Health.tsx - Health questionnaire
components/HealthQuestionnaire.tsx - Health data screens
app/health-data.tsx - Health export
app/health-export.tsx - Health service
services/health.ts - Health platforms
AI resource search
- AI search screen
app/aisearch.tsx - AI search client
services/aiSearch.ts - AI search API
backend/index.js - OpenAI APIs
Admin access
- Admin routes
app/admin/dashboard.tsx - Admin panel
components/AdminPanel.tsx - Admin authentication
app/admin/context/AdminAuthContext.tsx - User authentication
app/sign-in/AuthContext.tsx
Data and integrations
- Supabase client
db/supabase.ts - Supabase data
Other components
- Resident
- Administrator
Connections 26
- Resident → App navigation: opens
- App navigation → Campus home: renders
- App navigation → Research: renders
- App navigation → Community: renders
- App navigation → Health resources: renders
- App navigation → Faculty directory: renders
- App navigation → Contact and hours: renders
- Resident → AI search screen: searches
- AI search screen → AI search client: calls
- AI search client → AI search API: requests
- AI search API → OpenAI APIs: embeds query
- AI search API → Supabase data: matches resources
- AI search API → OpenAI APIs: generates answer
- Resident → Coloring book: uses
- Resident → Health questionnaire: completes
- Resident → Health data screens: views data
- Health data screens → Health service: uses
- Health export → Health service: exports via
- Health service → Health platforms: connects
- Resident → User authentication: signs in
- User authentication → Supabase client: authenticates via
- Administrator → Admin routes: manages content
- Admin routes → Admin panel: renders
- Admin routes → Admin authentication: checks access
- Admin authentication → Supabase client: authenticates and checks role
- Supabase client → Supabase data: queries