How michaelvu1207/optimat-front-sk works
OPTIMAT helps seniors and people with disabilities find transportation providers for trips in Contra Costa County. Its main workflow is a rider using the web app to search providers or ask the assistant about a trip, then viewing provider or route results. The product also includes provider self-service and trip-record analytics, alongside location, voice, and administrative API capabilities. The README documents the AWS runtime; sampled source supports selected frontend and API links. Other backend wiring is shown only where documented or evident from the tree.
Main entry points: App.svelte Web app · api.ts API client · ChatView.svelte Trip assistant · ProviderResults.svelte Provider results
Components 20
Web experience
- Web app
src/App.svelte - Trip assistant
src/routes/ChatView.svelte - Provider results
src/components/ProviderResults.svelte - Route dashboard
src/routes/UniversalServiceDashboard.svelte - Provider portal
src/routes/ProviderPortal.svelte - Trip analytics
src/routes/TripPairs.svelte - API client
src/lib/api.ts
Public API
- API Gateway
- Provider API
infra/lambda/providers/index.ts - Chat API
infra/lambda/chat/index.ts - Directions API
infra/lambda/directions/index.ts - Voice API
infra/lambda/transcribe/index.ts - Trip records API
infra/lambda/trip-records/index.ts - Feedback API
infra/lambda/feedback/index.ts - Provider admin API
infra/lambda/provider-import-admin/index.ts
Provider and trip data
- Aurora PostgreSQL
External services
- Amazon Bedrock
- Amazon Location
- Amazon Transcribe
Other components
- Rider
Connections 24
- Rider → Web app: uses
- Web app → Trip assistant: routes to
- Web app → Provider results: shows
- Web app → Route dashboard: routes to
- Web app → Provider portal: routes to
- Web app → Trip analytics: routes to
- Trip assistant → API client: requests
- Provider results → API client: requests
- Route dashboard → API client: requests
- Provider portal → API client: requests
- Trip analytics → API client: requests
- API client → API Gateway: calls
- API Gateway → Provider API: dispatches
- API Gateway → Chat API: dispatches
- API Gateway → Directions API: dispatches
- API Gateway → Voice API: dispatches
- API Gateway → Trip records API: dispatches
- API Gateway → Feedback API: dispatches
- API Gateway → Provider admin API: dispatches
- Provider API → Aurora PostgreSQL: reads and writes
- Trip records API → Aurora PostgreSQL: queries
- Chat API → Amazon Bedrock: uses
- Directions API → Amazon Location: uses
- Voice API → Amazon Transcribe: transcribes