How ragulgandhi-s/renova works
RENOVA-AI is a circular-economy waste-management platform presented through a React web application. Users enter through public pages or sign-in, then use role-specific dashboards and operational features such as waste detection, reports, and a recycled-material marketplace. The sampled AI service simulates classification rather than demonstrating a deployed YOLO inference backend; the README also describes IoT telemetry, but the available excerpts do not establish its implementation or runtime connections. Dashboard variants are preserved as distinct stakeholder experiences.
Main entry points: AppRoutes.jsx Route dispatcher · DashboardLayout.jsx Dashboard shell · DetectionDemo.jsx Detection demo · Marketplace.jsx Material marketplace
Components 23
Application and Access
- Route dispatcher
src/routes/AppRoutes.jsx - Public pages
src/pages - Authentication state
src/context/AuthContext.tsx - Auth service
src/services/authService.js - Protected access
src/routes/ProtectedRoute.jsx
Waste Operations
- Waste detection UI
src/pages/WasteManagement.jsx - Detection demo
src/components/detection/DetectionDemo.jsx - AI state
src/context/AIContext.jsx - Simulated classification
src/services/aiService.js - IoT telemetry
- Operational reports
src/pages/Reports.jsx
Circular Commerce
- Material marketplace
src/pages/Marketplace.jsx - Marketplace catalog data
src/utils/constants.js
Stakeholder Portals
- Admin dashboard
src/pages/dashboards/AdminDashboard.jsx - Hotel dashboard
src/pages/dashboards/HotelDashboard.jsx - Restaurant dashboard
src/pages/dashboards/RestaurantDashboard.jsx - Vendor dashboard
src/pages/dashboards/VendorDashboard.jsx - Farmer dashboard
src/pages/dashboards/FarmerDashboard.jsx - Delivery dashboard
src/pages/dashboards/DeliveryDashboard.jsx
Shared Platform
- Dashboard shell
src/components/layout/DashboardLayout.jsx - English and Tamil
src/localization/i18n.ts - 3D Earth visualizer
src/components/three/Earth.jsx
Other components
- Platform users
Connections 29
- Platform users → Route dispatcher: opens routes
src/routes/AppRoutes.jsx - Route dispatcher → Public pages: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Waste detection UI: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Material marketplace: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Operational reports: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Protected access: guards routes
src/routes/AppRoutes.jsx - Protected access → Authentication state: checks state
src/routes/ProtectedRoute.jsx - Authentication state → Auth service: uses service
- Waste detection UI → Detection demo: includes demo
src/pages/WasteManagement.jsx - Detection demo → AI state: uses context
- AI state → Simulated classification: calls service
src/context/AIContext.jsx - Detection demo → Marketplace catalog data: reads constants
src/components/detection/DetectionDemo.jsx - Material marketplace → Marketplace catalog data: reads catalog
src/pages/Marketplace.jsx - Material marketplace → Dashboard shell: renders within
src/pages/Marketplace.jsx - Admin dashboard → Dashboard shell: renders within
src/pages/dashboards/AdminDashboard.jsx - Hotel dashboard → Dashboard shell: renders within
- Restaurant dashboard → Dashboard shell: renders within
- Vendor dashboard → Dashboard shell: renders within
- Farmer dashboard → Dashboard shell: renders within
- Delivery dashboard → Dashboard shell: renders within
- Route dispatcher → Admin dashboard: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Hotel dashboard: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Restaurant dashboard: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Vendor dashboard: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Farmer dashboard: routes to
src/routes/AppRoutes.jsx - Route dispatcher → Delivery dashboard: routes to
src/routes/AppRoutes.jsx - Platform users → IoT telemetry: views capability
README.md - Platform users → 3D Earth visualizer: views capability
README.md - Platform users → English and Tamil: switches language
README.md