How yating021/interactive-tech-tutor works
Interactive Tech Tutor is a browser-based learning platform: a learner chooses a technical topic, receives an AI-generated simulation, and explores it with canvas visuals, narration, voice controls, and topic chat. The frontend also supports authentication, quizzes, progress, and history. The API coordinates generation and learner-data operations, with Bedrock and AWS persistence described by the README. Source excerpts establish frontend/API and local-store links; AWS service links and some feature endpoints are documented but not visible in sampled handlers, so those are shown as unverified.
Main entry points: index.ts API and generation · App.tsx Learning app · store.ts Local JSON store · api.ts API client
Components 15
Learning experience
- Learning app
apps/web/src/App.tsx - API client
apps/web/src/api.ts - Canvas renderer
apps/web/src/SimulationCanvasRenderer.ts - Learning models
apps/web/src/types.ts
API services
- API and generation
apps/api/src/index.ts - JWT authentication
apps/api/src/auth.ts - Topics and quizzes
apps/api/src/seed.ts - Domain models
apps/api/src/types.ts - AWS Bedrock
Learner data
- Local JSON store
apps/api/src/store.ts - DynamoDB
- S3 simulation cache
- Backup export
apps/api/src/backup-export.ts - Backup import
apps/api/src/backup-import.ts
Other components
- Learner
Connections 15
- Learner → Learning app: uses
README.md - Learning app → API client: requests data
apps/web/src/App.tsx - API client → API and generation: calls API
README.md - Learning app → Canvas renderer: renders simulation
apps/web/src/App.tsx - Learning app → Learning models: uses models
apps/web/src/App.tsx - API and generation → Domain models: uses models
apps/api/src/index.ts - API and generation → Topics and quizzes: uses defaults
apps/api/src/index.ts - API and generation → JWT authentication: authenticates requests
apps/api/src/index.ts - API and generation → AWS Bedrock: generates content
README.md - API and generation → Local JSON store: reads and writes
apps/api/src/index.ts - JWT authentication → DynamoDB: checks sessions
apps/api/src/auth.ts - API and generation → DynamoDB: stores learner data
README.md - API and generation → S3 simulation cache: caches simulations
README.md - Backup export → Local JSON store: reads snapshot
apps/api/src/backup-export.ts - Backup import → Local JSON store: restores snapshot
apps/api/src/backup-import.ts