How ceqinformatica/ceq-app works
Portal CEQ is a student-facing Expo app backed by its own Supabase project, with an admin area for managing CEQ content. The main journey is login and profile setup, then academic planning and tracking (curriculum, progress, and signature), alongside agenda and CEQ services. Academic screens use data access and calculation modules; authentication and session state support access to the app. The README documents these capabilities and the data-layer split. Some route and admin implementations were not sampled, so their internal calls are not asserted.
Main entry points: [id].tsx Subject details · academico.ts Academic data access · carrera.tsx Career and curriculum · academico.tsx Academic components
Components 26
Access and session
- Login and onboarding
src/app/login.tsx - Authentication
src/lib/auth.ts - Session and profile
src/context/SesionProvider.tsx
Academic journey
- Home
src/app/(tabs)/index.tsx - Career and curriculum
src/app/(tabs)/carrera.tsx - Subject details
src/app/materia/[id].tsx - Signature calculator
src/lib/firma.ts - Career progress
src/lib/progreso.ts - Finals rules and results
src/lib/finales.ts - FCQ signature rules
src/lib/reglamento-fcq.ts
Student services
- Agenda
src/app/(tabs)/agenda.tsx - CEQ modules
src/app/(tabs)/ceq.tsx - Admin area
src/app/admin/index.tsx
Data and presentation
- Academic data access
src/datos/academico.ts - Demo data
src/datos/demo.ts - Data and cache hook
src/datos/usarDatos.ts - Academic components
src/components/academico.tsx - Shared interface
src/components/ui.tsx - Motion and feedback
src/components/movimiento.tsx - Theme preference
src/context/TemaProvider.tsx - Theme definitions
src/tema.ts - Database types
src/lib/tipos-db.ts - Class type rules
src/lib/tipo-clase.ts - Error handling
src/lib/errores.ts
Other components
- Student
- Supabase
Connections 26
- Student → Login and onboarding: starts with
- Login and onboarding → Authentication: signs in
- Authentication → Supabase: authenticates
src/lib/auth.ts - Session and profile → Supabase: loads profile
- Student → Home: opens app
- Home → Career and curriculum: opens career
- Career and curriculum → Subject details: views subject
- Subject details → Academic data access: loads academic data
src/app/materia/[id].tsx - Subject details → Signature calculator: calculates signature
src/app/materia/[id].tsx - Subject details → Career progress: calculates progress
src/app/materia/[id].tsx - Subject details → Finals rules and results: uses finals rules
src/app/materia/[id].tsx - Signature calculator → FCQ signature rules: reads rules
src/lib/reglamento-fcq.ts - Academic data access → Supabase: reads and writes
- Academic data access → Demo data: uses demo mode
src/datos/academico.ts - Student → Agenda: opens agenda
- Student → CEQ modules: opens CEQ
- Admin area → Supabase: manages content
- Career and curriculum → Academic components: renders academic UI
- Academic components → Shared interface: uses controls
src/components/academico.tsx - Academic components → Motion and feedback: uses interactions
src/components/academico.tsx - Theme preference → Theme definitions: sets scheme
src/context/TemaProvider.tsx - Shared interface → Theme definitions: uses styles
src/components/ui.tsx - Academic data access → Database types: uses data types
src/datos/academico.ts - Database types → Class type rules: uses class types
src/lib/tipos-db.ts - Academic data access → Error handling: translates errors
src/datos/academico.ts - Student → Data and cache hook: loads screen data