How khandkar-sajiduzzaman/shebakrishi works
ShebaKrishi is a static, role-based marketplace mockup, not a functioning marketplace backend. The user journey is presented through routed screens: farmers view prices and lots, hub agents record and review lots, buyers browse produce and inspect a pooled-order delivery, and admins view network summaries. The README describes forecasting, AI grading, pooling, routing and bKash payouts as sample or planned capabilities; this repository has no backend, database or AI model. Edges show only routing, imports, or explicitly documented demo transitions and data usage.
Main entry points: App.jsx Route dispatcher · AppShell.jsx Role navigation · ui.jsx Interface primitives · FarmerHome.jsx Farmer prices
Components 19
App Navigation
- Route dispatcher
frontend/src/App.jsx
Marketplace Screens
- Overview
frontend/src/pages/Home.jsx - Farmer prices
frontend/src/pages/FarmerHome.jsx - Farmer lots
frontend/src/pages/FarmerLots.jsx - Record lot
frontend/src/pages/HubNewLot.jsx - Review grade
frontend/src/pages/HubGrading.jsx - Buyer catalogue
frontend/src/pages/BuyerCatalogue.jsx - Order delivery
frontend/src/pages/BuyerOrder.jsx - Admin dashboard
frontend/src/pages/AdminDashboard.jsx
Shared Interface
- Role navigation
frontend/src/components/AppShell.jsx - Price forecast chart
frontend/src/components/ForecastChart.jsx - Price comparison
frontend/src/components/PriceLadder.jsx - Produce imagery
frontend/src/components/ProduceArt.jsx - Delivery map
frontend/src/components/RouteMap.jsx - Interface primitives
frontend/src/components/ui.jsx - Language provider
frontend/src/i18n.jsx - Formatting helpers
frontend/src/lib/utils.js
Mock Data
- Marketplace samples
frontend/src/mock
Other components
- Marketplace user
Connections 48
- Marketplace user → Route dispatcher: opens
README.md - Route dispatcher → Overview: routes to
frontend/src/App.jsx - Route dispatcher → Farmer prices: routes to
frontend/src/App.jsx - Route dispatcher → Farmer lots: routes to
frontend/src/App.jsx - Route dispatcher → Record lot: routes to
frontend/src/App.jsx - Route dispatcher → Review grade: routes to
frontend/src/App.jsx - Route dispatcher → Buyer catalogue: routes to
frontend/src/App.jsx - Route dispatcher → Order delivery: routes to
frontend/src/App.jsx - Route dispatcher → Admin dashboard: routes to
frontend/src/App.jsx - Overview → Role navigation: renders
frontend/src/pages/Home.jsx - Farmer prices → Role navigation: renders
frontend/src/pages/FarmerHome.jsx - Farmer lots → Role navigation: renders
frontend/src/pages/FarmerLots.jsx - Record lot → Role navigation: renders
frontend/src/pages/HubNewLot.jsx - Review grade → Role navigation: renders
frontend/src/pages/HubGrading.jsx - Buyer catalogue → Role navigation: renders
frontend/src/pages/BuyerCatalogue.jsx - Order delivery → Role navigation: renders
frontend/src/pages/BuyerOrder.jsx - Admin dashboard → Role navigation: renders
frontend/src/pages/AdminDashboard.jsx - Farmer prices → Price forecast chart: renders
frontend/src/pages/FarmerHome.jsx - Overview → Price comparison: renders
frontend/src/pages/Home.jsx - Buyer catalogue → Produce imagery: renders
frontend/src/pages/BuyerCatalogue.jsx - Farmer lots → Produce imagery: renders
frontend/src/pages/FarmerLots.jsx - Record lot → Produce imagery: renders
frontend/src/pages/HubNewLot.jsx - Review grade → Produce imagery: renders
frontend/src/pages/HubGrading.jsx - Order delivery → Delivery map: renders
frontend/src/pages/BuyerOrder.jsx - Overview → Interface primitives: uses
frontend/src/pages/Home.jsx - Farmer prices → Interface primitives: uses
frontend/src/pages/FarmerHome.jsx - Farmer lots → Interface primitives: uses
frontend/src/pages/FarmerLots.jsx - Record lot → Interface primitives: uses
frontend/src/pages/HubNewLot.jsx - Review grade → Interface primitives: uses
frontend/src/pages/HubGrading.jsx - Buyer catalogue → Interface primitives: uses
frontend/src/pages/BuyerCatalogue.jsx - Order delivery → Interface primitives: uses
frontend/src/pages/BuyerOrder.jsx - Admin dashboard → Interface primitives: uses
frontend/src/pages/AdminDashboard.jsx - Role navigation → Language provider: reads language
frontend/src/components/AppShell.jsx - Farmer prices → Language provider: reads language
frontend/src/pages/FarmerHome.jsx - Record lot → Language provider: reads language
frontend/src/pages/HubNewLot.jsx - Review grade → Language provider: reads language
frontend/src/pages/HubGrading.jsx - Interface primitives → Language provider: reads language
frontend/src/components/ui.jsx - Buyer catalogue → Formatting helpers: validates quantities
frontend/src/pages/BuyerCatalogue.jsx - Order delivery → Formatting helpers: formats prices
frontend/src/pages/BuyerOrder.jsx - Role navigation → Formatting helpers: styles links
frontend/src/components/AppShell.jsx - Interface primitives → Formatting helpers: merges classes
frontend/src/components/ui.jsx - Farmer prices → Marketplace samples: reads samples
README.md - Farmer lots → Marketplace samples: reads samples
README.md - Record lot → Marketplace samples: uses sample records
README.md - Review grade → Marketplace samples: uses sample records
README.md - Buyer catalogue → Marketplace samples: reads samples
README.md - Order delivery → Marketplace samples: reads samples
README.md - Admin dashboard → Marketplace samples: reads samples
README.md