How svarom/learnapp works
LearnApp is a student–teacher advising app: users authenticate or register, students browse and join advising offers, and teachers create offers and record attendance; students can review attendance and manage profiles. App.js routes into role-specific screens, which access Firebase through the shared database module. The graph preserves the indexed screen modules, but several screen implementations and navigation details were not excerpted; their Firebase links rely on the SOURCE INDEX, and uncertain cross-screen workflows are omitted.
Main entry points: firebase.js Firebase access · App.js App navigation · Login.js Login · Home.js Browse offers
Components 23
Access and identity
- App navigation
App.js - Login
src/Screens/Login.js - Registration
src/Screens/Register.js - Identity lookup
src/Screens/Identity.js - Password change
src/Screens/ForgotLogged.js
Student advising
- Browse offers
src/Screens/Student/Home.js - Student calendar
src/Screens/Student/Calendar.js - Selected day
src/Screens/Student/SelectedDay.js - Attendance history
src/Screens/Student/History.js - Student profile
src/Screens/Student/Profile.js - Ratings
src/Screens/Rating.js
Teacher advising
- Manage offers
src/Screens/Teacher/Home.js - Create offer
src/Screens/Teacher/Create.js - Teacher calendar
src/Screens/Teacher/Calendario.js - Selected day
src/Screens/Teacher/SelectedDay.js - Offer details
src/Screens/Teacher/Details.js - Record attendance
src/Screens/Teacher/Attendance.js - QR scanner
src/Screens/Teacher/Scanner.js - Teacher profile
src/Screens/Teacher/Profile.js
Shared services
- Firebase access
database/firebase.js - Firebase Auth
- Cloud Firestore
Other components
- App user
Connections 34
- App user → App navigation: opens
- App navigation → Login: starts at
App.js - App navigation → Browse offers: routes to
App.js - App navigation → Student calendar: routes to
App.js - App navigation → Attendance history: routes to
App.js - App navigation → Student profile: routes to
App.js - App navigation → Manage offers: routes to
App.js - App navigation → Teacher calendar: routes to
App.js - App navigation → QR scanner: routes to
App.js - App navigation → Registration: registers route
App.js - App navigation → Identity lookup: registers route
App.js - Login → Firebase access: queries users
src/Screens/Login.js - Login → Firebase Auth: checks session
src/Screens/Login.js - Registration → Firebase access: creates user
src/Screens/Register.js - Identity lookup → Firebase access: uses data
src/Screens/Identity.js - Password change → Firebase Auth: changes password
src/Screens/ForgotLogged.js - Browse offers → Firebase access: reads offers
src/Screens/Student/Home.js - Browse offers → Firebase access: joins offer
src/Screens/Student/Home.js - Student calendar → Firebase access: uses data
src/Screens/Student/Calendar.js - Selected day → Firebase access: uses data
src/Screens/Student/SelectedDay.js - Attendance history → Firebase access: reads attendance
src/Screens/Student/History.js - Student profile → Firebase access: manages profile
src/Screens/Student/Profile.js - Student profile → Firebase Auth: deletes account
src/Screens/Student/Profile.js - Ratings → Firebase access: uses data
src/Screens/Rating.js - Manage offers → Firebase access: manages offers
src/Screens/Teacher/Home.js - Create offer → Firebase access: uses data
src/Screens/Teacher/Create.js - Teacher calendar → Firebase access: uses data
src/Screens/Teacher/Calendario.js - Selected day → Firebase access: uses data
src/Screens/Teacher/SelectedDay.js - Offer details → Firebase access: uses data
src/Screens/Teacher/Details.js - Record attendance → Firebase access: reads sessions
src/Screens/Teacher/Attendance.js - Teacher profile → Firebase access: manages profile
src/Screens/Teacher/Profile.js - Teacher profile → Firebase Auth: deletes account
src/Screens/Teacher/Profile.js - Firebase access → Firebase Auth: initializes
database/firebase.js - Firebase access → Cloud Firestore: initializes
database/firebase.js