How agus1906/ia-lectura works
Fluaidez is a Spanish-language reading-practice frontend for managing students, generating a story for a selected student, recording its reading, and viewing reading reports. The user enters through the routed React app; the reading flow loads students, requests a story, then offers audio recording and submission. Student management and reports are separate workflows. The API module implements delayed, in-memory mock data rather than a demonstrated remote backend. Relationships below follow the shown imports, calls, and routes; unsampled implementation details are not inferred.
Main entry points: Alumnos.tsx Student page · App.tsx App router · Home.tsx Home dashboard · Reportes.tsx Reports page
Components 14
Application navigation
- React entry
src/main.tsx - App router
src/App.tsx - Home dashboard
src/pages/Home.tsx - Mock data service
src/services/api.ts
Student management
- Student page
src/pages/Alumnos.tsx - Student form
src/components/AlumnoForm.tsx - Student list
src/components/AlumnoList.tsx
Reading practice
- Reading page
src/pages/Lectura.tsx - Story generator
src/components/CuentoGenerador.tsx - Audio recorder
src/components/GrabadorAudio.tsx
Reading reports
- Reports page
src/pages/Reportes.tsx - Reports table
src/components/ReportesList.tsx
Other components
- User
- Device microphone
Connections 21
- User → React entry: opens app
src/main.tsx - React entry → App router: renders
src/main.tsx - App router → Home dashboard: routes to
src/App.tsx - App router → Student page: routes to
src/App.tsx - App router → Reading page: routes to
src/App.tsx - App router → Reports page: routes to
src/App.tsx - Home dashboard → Student page: links to
src/pages/Home.tsx - Home dashboard → Reading page: links to
src/pages/Home.tsx - Home dashboard → Reports page: links to
src/pages/Home.tsx - Student page → Student form: renders
src/pages/Alumnos.tsx - Student page → Student list: renders
src/pages/Alumnos.tsx - Student page → Mock data service: loads and updates
src/pages/Alumnos.tsx - Student page → Student form: handles save
src/pages/Alumnos.tsx - Student page → Student list: handles actions
src/pages/Alumnos.tsx - Reading page → Story generator: renders
src/pages/Lectura.tsx - Story generator → Mock data service: loads students, generates story
src/components/CuentoGenerador.tsx - Story generator → Audio recorder: renders with story
src/components/CuentoGenerador.tsx - Audio recorder → Device microphone: captures audio
src/components/GrabadorAudio.tsx - Audio recorder → Mock data service: submits recording
src/components/GrabadorAudio.tsx - Reports page → Mock data service: loads reports
src/pages/Reportes.tsx - Reports page → Reports table: renders
src/pages/Reportes.tsx