How danielnieto2526/frontend-arguello-moreno-nieto works
ConectaTutor is a role-based tutoring marketplace for students, tutors, and administrators. Students register or sign in, explore tutor profiles, schedule sessions, manage upcoming tutoring, and submit feedback; tutors manage their sessions and profile, while administrators review tutor-related records. The React router dispatches these journeys to page components, which use services for API-backed operations with local fallback behavior in sampled tutor and session services. The README is only the default Vite template, so product capabilities are inferred from the routes and source index; unsampled page-to-service details are not expanded beyond indexed references.
Main entry points: App.tsx Router · tutoresService.ts Tutor service · tutoriasService.ts Tutoring service · auth.ts Auth and session
Components 28
App and shared UI
- Router
src/App.tsx - Role navigation
src/components/Header.tsx
Student journeys
- Sign in
src/pages/Login.tsx - Student registration
src/pages/RegistroEstudiante.tsx - Browse tutors
src/pages/ExplorarTutores.tsx - Tutor profile
src/pages/VerPerfilTutorDesdeEstudiante.tsx - Schedule session
src/pages/AgendarTutoria.tsx - Student sessions
src/pages/TutoriasPendientes.tsx - Session feedback
src/pages/FeedbackMonitoriaEstudiante.tsx - Student profile
src/pages/EditarPerfilEstudiante.tsx
Tutor journeys
- Tutor registration
src/pages/RegistroTutor.tsx - Tutor dashboard
src/pages/VistaTutor.tsx - Session details
src/pages/InformacionMonitoriaTutor.tsx - Tutor profile management
src/pages/PerfilTutor.tsx - Edit tutor
src/pages/EditarTutor.tsx - Edit availability
src/pages/EditarHorarioTutor.tsx
Administration
- Admin dashboard
src/pages/DashboardAdmin.tsx
Services and state
- Auth and session
src/utils/auth.ts - Tutor service
src/services/tutoresService.ts - Tutoring service
src/services/tutoriasService.ts - Reviews service
src/services/resenasService.ts - Admin service
src/services/adminService.ts - HTTP client
src/services/api.ts - Tutor seed data
src/data/tutoresIniciales.ts - Session seed data
src/data/tutoriasIniciales.ts - User seed data
src/data/usuariosIniciales.ts
Other components
- User
- Backend API
Connections 42
- User → Router: opens
src/App.tsx - Router → Sign in: routes to
src/App.tsx - Router → Browse tutors: routes to
src/App.tsx - Router → Schedule session: routes to
src/App.tsx - Router → Student sessions: routes to
src/App.tsx - Router → Session feedback: routes to
src/App.tsx - Router → Student registration: routes to
src/App.tsx - Router → Tutor registration: routes to
src/App.tsx - Router → Tutor profile: routes to
src/App.tsx - Router → Student profile: routes to
src/App.tsx - Router → Tutor dashboard: routes to
src/App.tsx - Router → Session details: routes to
src/App.tsx - Router → Tutor profile management: routes to
src/App.tsx - Router → Edit tutor: routes to
src/App.tsx - Router → Edit availability: routes to
src/App.tsx - Router → Admin dashboard: routes to
src/App.tsx - Router → Role navigation: renders
- Sign in → Auth and session: authenticates
src/pages/Login.tsx - Student registration → Auth and session: registers locally
src/pages/RegistroEstudiante.tsx - Tutor registration → Tutor service: registers tutor
src/pages/RegistroTutor.tsx - Browse tutors → Tutor service: loads tutors
src/pages/ExplorarTutores.tsx - Tutor profile → Reviews service: loads reviews
src/pages/VerPerfilTutorDesdeEstudiante.tsx - Schedule session → Tutor service: loads tutor
src/pages/AgendarTutoria.tsx - Schedule session → Tutoring service: schedules session
src/pages/AgendarTutoria.tsx - Student sessions → Tutoring service: loads sessions
src/pages/TutoriasPendientes.tsx - Session feedback → Tutoring service: loads session
src/pages/FeedbackMonitoriaEstudiante.tsx - Session feedback → Reviews service: submits feedback
src/pages/FeedbackMonitoriaEstudiante.tsx - Tutor dashboard → Tutoring service: loads sessions
src/pages/VistaTutor.tsx - Session details → Tutoring service: loads session
src/pages/InformacionMonitoriaTutor.tsx - Tutor profile management → Reviews service: loads reviews
src/pages/PerfilTutor.tsx - Edit availability → Tutor service: updates availability
- Admin dashboard → Admin service: requests admin data
src/pages/DashboardAdmin.tsx - Tutor service → HTTP client: requests API
src/services/tutoresService.ts - Tutoring service → HTTP client: requests API
src/services/tutoriasService.ts - Tutor service → Tutor seed data: falls back to
src/services/tutoresService.ts - Tutoring service → Session seed data: falls back to
src/services/tutoriasService.ts - Tutoring service → Auth and session: reads session
src/services/tutoriasService.ts - Tutor service → Auth and session: registers user
src/services/tutoresService.ts - Auth and session → User seed data: checks initial users
src/utils/auth.ts - Admin service → Tutor service: uses tutor data
src/services/adminService.ts - Admin service → Tutor seed data: uses initial tutors
src/services/adminService.ts - HTTP client → Backend API: fetches requests
src/services/api.ts