How rajkumarceo/funtobots works
Funobotz is an adaptive STEM learning platform with a web experience and an Express API. Learners select a kit and use FunoGuide for kit-grounded help, follow missions, try STEM simulations, and review learning dashboards; voice interaction is another route into the tutor. The API also exposes entitlement, lab-attempt, mission, and analytics routes. The excerpts establish the application composition and the chat controller’s entitlement, retrieval, and tutoring calls. Other UI-to-API links and unsampled integrations are not inferred.
Main entry points: App.jsx App shell · server.js API router · chatController.js Chat controller · VoiceContainer.jsx Voice experience
Components 22
Learning experience
- App shell
apps/web/src/App.jsx - Learning context
apps/web/src/context/AppContext.jsx - Chat experience
apps/web/src/components/chat/ChatContainer.jsx - FunoGuide widget
apps/web/src/components/chat/FunoGuideWidget.jsx - Missions experience
apps/web/src/components/missions/MissionContainer.jsx - STEM lab experience
apps/web/src/components/stem-lab/LabContainer.jsx - Voice experience
apps/web/src/components/voice/VoiceContainer.jsx - Learning dashboard
apps/web/src/components/dashboard/DashboardContainer.jsx
Learning API
- API router
apps/api/src/server.js - Chat controller
apps/api/src/modules/chat/chatController.js - Kit entitlements
apps/api/src/modules/auth/entitlementController.js - Mission catalog
apps/api/src/modules/missions/missionController.js - Lab attempts
apps/api/src/modules/lab/labController.js - Analytics routes
apps/api/src/modules/analytics/analyticsController.js
Tutor intelligence
- Kit knowledge base
apps/api/src/ai/retrieval/knowledgeBase.js - Socratic response
apps/api/src/ai/prompts/funoGuidePrompt.js - LLM adapter
apps/api/src/ai/providers/llmAdapter.js
Reusable learning packages
- STEM simulations
packages/stem-simulations/index.jsx - Chatbot widget package
packages/chatbot-widget/index.js - Shared schemas
packages/shared-schemas/index.js
Other components
- Learner
- ElevenLabs speech
Connections 21
- Learner → App shell: uses
apps/web/src/App.jsx - App shell → Learning context: reads state
apps/web/src/App.jsx - App shell → Chat experience: renders
apps/web/src/App.jsx - App shell → FunoGuide widget: renders
apps/web/src/App.jsx - App shell → Missions experience: renders
apps/web/src/App.jsx - App shell → STEM lab experience: renders
apps/web/src/App.jsx - App shell → Voice experience: renders
apps/web/src/App.jsx - App shell → Learning dashboard: renders
apps/web/src/App.jsx - API router → Chat controller: routes requests
apps/api/src/server.js - API router → Kit entitlements: routes requests
apps/api/src/server.js - API router → Mission catalog: routes requests
apps/api/src/server.js - API router → Lab attempts: routes requests
apps/api/src/server.js - API router → Analytics routes: routes requests
apps/api/src/server.js - Chat controller → Kit entitlements: checks access
apps/api/src/modules/chat/chatController.js - Kit entitlements → Kit knowledge base: validates kit IDs
apps/api/src/modules/auth/entitlementController.js - Chat controller → Kit knowledge base: retrieves knowledge
apps/api/src/modules/chat/chatController.js - Chat controller → Socratic response: generates answer
apps/api/src/modules/chat/chatController.js - Socratic response → Kit knowledge base: references kit knowledge
apps/api/src/ai/prompts/funoGuidePrompt.js - STEM lab experience → STEM simulations: uses simulations
apps/web/src/components/stem-lab/LabContainer.jsx - Voice experience → Chat controller: posts question
apps/web/src/components/voice/VoiceContainer.jsx - Voice experience → ElevenLabs speech: requests speech
apps/web/src/components/voice/VoiceContainer.jsx