How harshith-kumar-23/fertilizer-shop works
This is a client-side fertilizer shop inventory and supply-chain dashboard. A shop operator enters through the React app, switches among dashboard, stock, and tracking views, and uses in-app alerts for inventory issues. The app seeds its state from local sample data; the excerpts show stock transactions, low-stock notifications, supplier selection, and delivery simulation, but no persistent backend or external logistics service. Edges reflect shown imports, rendering, and documented entry-point wiring; unsampled component details are not assumed.
Main entry points: App.tsx Application state · types.ts Domain types · main.tsx React entry · DashboardTab.tsx Dashboard
Components 9
App shell
- React entry
src/main.tsx - Application state
src/App.tsx
Shop operations
- Dashboard
src/components/DashboardTab.tsx - Stock catalog
src/components/StockTab.tsx - Delivery tracking
src/components/TrackingTab.tsx - Alert center
src/components/NotificationCenter.tsx
Domain data
- Initial shop data
src/initialData.ts - Domain types
src/types.ts
Other components
- Shop operator
Connections 12
- Shop operator → React entry: opens app
src/main.tsx - React entry → Application state: renders
src/main.tsx - Application state → Initial shop data: loads seed data
src/App.tsx - Application state → Dashboard: renders view
src/App.tsx - Application state → Stock catalog: renders view
src/App.tsx - Application state → Delivery tracking: renders view
src/App.tsx - Application state → Alert center: renders alerts
src/App.tsx - Initial shop data → Domain types: uses types
src/initialData.ts - Dashboard → Domain types: uses types
src/components/DashboardTab.tsx - Stock catalog → Domain types: uses types
src/components/StockTab.tsx - Delivery tracking → Domain types: uses types
src/components/TrackingTab.tsx - Alert center → Domain types: uses types
src/components/NotificationCenter.tsx