How atilasos/infantinho3 works
Infantinho 3.0 is a school portal for cooperative learning aligned with the MEM pedagogical model. Its main user journey is signing in, entering an authenticated dashboard, and using class-based tools to record learning, create plans and projects, and receive contextual AI support. The graph preserves the README’s documented product areas and the sampled AI implementation layers. Relationships among unsampled feature screens and backend endpoints are shown only where the README supports them; it does not establish every route-level connection.
Main entry points: orchestrator.py AI orchestrator · api_urls.py Backend REST API · page.tsx Authenticated dashboard · auth_views.py Federated authentication
Components 31
Identity and classes
- Sign-in pages
frontend/src/app/(auth)/login/page.tsx - Federated authentication
backend/users/api/auth_views.py - User and role records
backend/users/models.py - Class pages
frontend/src/app/classes/page.tsx - Class management
backend/classes/api/views.py
Learning tools
- Learning checklists
frontend/src/app/checklists/page.tsx - Checklist API
backend/checklists/api/views.py - Individual work plans
frontend/src/app/pit/page.tsx - Plan generation wizard
frontend/src/app/pit/_components/generate-wizard.tsx - PIT workflows
backend/pit/api/views.py - Plan services
backend/pit/services.py - Cooperative projects
frontend/src/app/projects/page.tsx - Project workflows
backend/projects/api/views.py
Class community
- Public school blog
frontend/src/app/page.tsx - Blog API
backend/blog/api/views.py - Class diary
frontend/src/app/diario/page.tsx - Diary workflows
backend/diary/api/views.py - Class council records
backend/council/api/views.py
AI assistance
- AI assistant
frontend/src/app/assistente/page.tsx - AI request API
backend/ai/api/views.py - AI orchestrator
backend/ai/services/orchestrator.py - Learning context
backend/ai/services/context.py - Prompt optimization
backend/ai/services/prompting.py - Model selection
backend/ai/services/router.py - AI providers
backend/ai/services/providers.py - Usage quotas
backend/ai/services/quotas.py - AI sessions and logs
backend/ai/models.py
Application platform
- Authenticated dashboard
frontend/src/app/dashboard/page.tsx - Backend REST API
backend/infantinho3/api_urls.py
Other components
- Student or teacher
- Configured AI service
Connections 37
- Student or teacher → Sign-in pages: signs in
README.md - Sign-in pages → Federated authentication: requests login
- Federated authentication → User and role records: authenticates users
backend/users/api/auth_views.py - Federated authentication → Authenticated dashboard: returns JWT access
README.md - Student or teacher → Authenticated dashboard: opens portal
README.md - Authenticated dashboard → Class pages: opens class tools
- Class pages → Class management: manages classes
- Student or teacher → Learning checklists: tracks learning
README.md - Learning checklists → Checklist API: uses checklist API
- Student or teacher → Individual work plans: proposes a plan
README.md - Individual work plans → Plan generation wizard: starts generation
frontend/src/app/pit/page.tsx - Plan generation wizard → PIT workflows: requests plan
- PIT workflows → Plan services: delegates plan work
- Student or teacher → Cooperative projects: collaborates
README.md - Cooperative projects → Project workflows: uses project API
- Student or teacher → Public school blog: reads school posts
README.md - Public school blog → Blog API: fetches public posts
README.md - Student or teacher → Class diary: records class activity
README.md - Class diary → Diary workflows: uses diary API
- Student or teacher → Class council records: records decisions
README.md - Student or teacher → AI assistant: asks for guidance
README.md - AI assistant → AI request API: sends AI request
- AI request API → AI orchestrator: delegates request
- AI orchestrator → Learning context: builds context
backend/ai/services/orchestrator.py - AI orchestrator → Prompt optimization: optimizes prompt
backend/ai/services/orchestrator.py - AI orchestrator → Model selection: selects model
backend/ai/services/orchestrator.py - AI orchestrator → AI providers: requests completion
backend/ai/services/orchestrator.py - AI providers → Configured AI service: sends completion request
backend/ai/services/providers.py - AI orchestrator → Usage quotas: registers usage
backend/ai/services/orchestrator.py - AI orchestrator → AI sessions and logs: persists interactions
backend/ai/services/orchestrator.py - Learning context → AI sessions and logs: reads learning snapshots
backend/ai/services/context.py - Plan services → Class council records: reads council records
- Authenticated dashboard → Backend REST API: consumes REST API
README.md - Backend REST API → Checklist API: routes checklist calls
- Backend REST API → PIT workflows: routes PIT calls
- Backend REST API → Project workflows: routes project calls
- Backend REST API → Diary workflows: routes diary calls