How ibeneme/iyare works
Yare is an education platform frontend for public discovery and pricing, account access, and role-based learning and administration. Users browse public pages or sign in, then use app routes for classes, subjects, resources, schedules, tasks, payments, notifications, and account management. React route components dispatch Redux state operations; async slices call the backend through shared HTTP infrastructure. The excerpts support routing, task/resource operations, and common API behavior, but not the internal wiring of most feature pages; those branches are represented without speculative call edges.
Main entry points: App.tsx Application routes · PlansPage.tsx Plans and checkout · auth.slice.ts Authentication state · features Feature slices
Components 25
Public experience
- Public pages
src/Landing - Plans and checkout
src/Landing/Pricing/PlansPage.tsx - Payment verification
src/Landing/Pricing/VerifyPaymentPage.tsx
Identity and routing
- Application routes
src/App.tsx - Route registry
src/routes/paths.ts - Sign-in and setup
src/pages/auth - Role access
src/config/roles.ts - Authentication state
src/store/features/auth/auth.slice.ts - Auth cookies
src/utils/cookies.ts - App providers
src/main.tsx
Learning operations
- Subjects and classes
src/pages/app/subjects - Class resources
src/pages/app/classes/ResourceManager.tsx - Tasks and tracking
src/pages/app/tasks - Timetable and live class
src/pages/app/timetable - Academic administration
src/pages/app/grades
Platform services
- People and accounts
src/pages/app/users/UserManagement.tsx - Fees and subscriptions
src/pages/app/payments - Notifications
src/pages/app/notifications - Admin and settings
src/pages/app/admin
Client state and API
- Redux store
src/store/index.ts - Feature slices
src/store/features - Async API thunks
src/store/api.ts - HTTP client
src/lib/axiosInstance.ts
Other components
- Visitor
- Platform backend
Connections 28
- Visitor → Application routes: opens
- App providers → Application routes: renders
src/main.tsx - Application routes → Public pages: routes to
src/App.tsx - Application routes → Plans and checkout: routes to
src/App.tsx - Application routes → Payment verification: routes to
src/App.tsx - Application routes → Sign-in and setup: routes to
src/App.tsx - Application routes → Route registry: uses paths
src/routes/paths.ts - Application routes → Subjects and classes: routes to
src/App.tsx - Application routes → Class resources: routes to
src/App.tsx - Application routes → Tasks and tracking: routes to
src/App.tsx - Application routes → Timetable and live class: routes to
src/App.tsx - Application routes → Academic administration: routes to
src/App.tsx - Application routes → People and accounts: routes to
src/App.tsx - Application routes → Fees and subscriptions: routes to
src/App.tsx - Application routes → Notifications: routes to
src/App.tsx - Application routes → Admin and settings: routes to
src/App.tsx - Application routes → Role access: guards routes
src/App.tsx - Sign-in and setup → Authentication state: dispatches auth
- Authentication state → HTTP client: calls
src/store/features/auth/auth.slice.ts - Authentication state → Auth cookies: persists identity
- Plans and checkout → Platform backend: requests checkout
src/Landing/Pricing/PlansPage.tsx - Plans and checkout → Payment verification: redirects after payment
src/Landing/Pricing/PlansPage.tsx - Class resources → Feature slices: dispatches resource ops
src/pages/app/classes/ResourceManager.tsx - Tasks and tracking → Feature slices: dispatches task ops
src/pages/app/tasks/TasksPage.tsx - Feature slices → Redux store: registers reducers
src/store/index.ts - Async API thunks → HTTP client: uses client
src/store/api.ts - HTTP client → Platform backend: sends requests
src/lib/axiosInstance.ts - Redux store → App providers: provides state
src/main.tsx