How rajivarthini/agri-project works
AgriLearn is a React agricultural-learning frontend. A visitor explores the crop catalog, opens the implemented Coffee course, selects a coffee category, and reaches its category page; the learning-level content is explicitly marked as coming soon. The source also advertises video learning, assessments, progress tracking, and certificates, but these are not implemented as workflows in the sampled pages. The graph reflects the observed routing and local data dependencies; no backend or external service is evidenced.
Main entry points: App.jsx Route dispatcher · CropCatalog.jsx Crop catalog search · CoffeeCourse.jsx Coffee course overview · Home.jsx Home and overview
Components 9
App entry and routing
- App bootstrap
frontend/src/main.jsx - Route dispatcher
frontend/src/App.jsx
Course discovery
- Home and overview
frontend/src/pages/Home.jsx - Crop catalog search
frontend/src/pages/CropCatalog.jsx
Coffee learning path
- Coffee course overview
frontend/src/pages/CoffeeCourse.jsx - Category course page
frontend/src/pages/CategoryCourse.jsx
Local course data
- Crop catalog data
frontend/src/data/crops.js - Coffee category data
frontend/src/data/coffeeCategories.js
Other components
- Learner
Connections 13
- Learner → App bootstrap: opens app
- App bootstrap → Route dispatcher: renders
- Route dispatcher → Home and overview: routes /
- Route dispatcher → Crop catalog search: routes /crops
- Route dispatcher → Coffee course overview: routes coffee
- Route dispatcher → Category course page: routes category
- Home and overview → Crop catalog search: links to
- Home and overview → Crop catalog data: reads crops
- Crop catalog search → Crop catalog data: filters crops
- Crop catalog search → Coffee course overview: links coffee
- Coffee course overview → Coffee category data: reads categories
- Coffee course overview → Category course page: links category
- Category course page → Coffee category data: finds category