How tanish-29005/feedinghands works
Feeding Hands is a food-donation coordination platform for donors, NGOs, and volunteers. Its main workflow is user access, donation creation, NGO/volunteer coordination, and donation tracking; additional product branches cover biogas donations, freshness detection, event forecasting, route optimization, and learning/rewards. The sampled runtime shows a React frontend calling an Express backend with Mongo-style models. The README instead describes Supabase and a Python AI layer; those implementation details are documented capabilities, not verified connections in the sampled source.
Main entry points: App.js Web application · client.js API client · Donate.js Food donation · server.js API server
Components 32
React product
- Web application
frontend/src/components/App.js - Signup and signin
frontend/src/components/SignUp.js - Food donation
frontend/src/components/Donate.js - Donation state
frontend/src/components/DonationContext.js - Tracking state
frontend/src/components/FoodTrackingContext.js - NGO tracking
frontend/src/components/NgoFoodTrackingContext.js - Role dashboards
frontend/src/components/VolunteerDashboard.js - Volunteer coordination
frontend/src/components/VolunteerForm.js - Volunteer map
frontend/src/components/VolunteerMap.js - Delivery tracking
frontend/src/components/DeliveryTrackingPage.js - Freshness detection
frontend/src/components/ImageRecognition.js - Event forecasting
frontend/src/components/Event_prediction.js - Route optimization
frontend/src/components/Route_Optimization.js - Biogas donation
frontend/src/components/BiogasDonation.js - Learning and rewards
frontend/src/components/LearnerCorner.js - API client
frontend/src/api/client.js
Express services
- API server
backend/server.js - Auth routes
backend/routes/authRoutes.js - Donation routes
backend/routes/donationRoutes.js - Biogas routes
backend/routes/biogasRoutes.js - Organization service
backend/controllers/organizationController.js - Volunteer service
backend/controllers/volunteerController.js - Authentication service
backend/controllers/authController.js - Donation service
backend/controllers/donationController.js - Biogas service
backend/controllers/biogasController.js - Token verification
backend/middleware/auth.js
Backend data
- User records
backend/models/User.js - Donation records
backend/models/Donation.js - Organization records
backend/models/Organization.js - Volunteer records
backend/models/Volunteer.js - Biogas records
backend/models/BiogasDonation.js
Other components
- Donor / NGO / Volunteer
Connections 36
- Donor / NGO / Volunteer → Web application: uses
frontend/src/components/App.js - Web application → Signup and signin: routes to
frontend/src/components/App.js - Web application → Food donation: routes to
frontend/src/components/App.js - Web application → Role dashboards: routes to
frontend/src/components/App.js - Web application → Volunteer coordination: routes to
frontend/src/components/App.js - Web application → Volunteer map: routes to
frontend/src/components/App.js - Web application → Delivery tracking: routes to
frontend/src/components/App.js - Web application → Freshness detection: routes to
frontend/src/components/App.js - Web application → Event forecasting: routes to
frontend/src/components/App.js - Web application → Route optimization: routes to
frontend/src/components/App.js - Web application → Biogas donation: routes to
frontend/src/components/App.js - Web application → Learning and rewards: routes to
frontend/src/components/App.js - Food donation → Donation state: uses
frontend/src/components/Donate.js - Food donation → Tracking state: uses
frontend/src/components/Donate.js - Role dashboards → Tracking state: uses
frontend/src/components/VolunteerDashboard.js - Delivery tracking → Tracking state: uses
frontend/src/components/DeliveryTrackingPage.js - Food donation → API client: requests
frontend/src/components/Donate.js - Role dashboards → API client: requests
frontend/src/components/VolunteerDashboard.js - Delivery tracking → API client: requests
frontend/src/components/DeliveryTrackingPage.js - Signup and signin → API client: requests
frontend/src/components/SignUp.js - Volunteer map → API client: requests
frontend/src/components/VolunteerMap.js - Biogas donation → API client: requests
frontend/src/components/BiogasDonation.js - API server → Auth routes: mounts
backend/server.js - API server → Donation routes: mounts
backend/server.js - API server → Biogas routes: mounts
backend/server.js - Auth routes → Authentication service: dispatches
backend/routes/authRoutes.js - Auth routes → Token verification: protects
backend/routes/authRoutes.js - Donation routes → Donation service: dispatches
backend/routes/donationRoutes.js - Donation routes → Token verification: protects
backend/routes/donationRoutes.js - Biogas routes → Biogas service: dispatches
backend/routes/biogasRoutes.js - Authentication service → User records: reads / writes
backend/controllers/authController.js - Authentication service → Token verification: generates tokens
- Donation service → Donation records: reads / writes
backend/controllers/donationController.js - Organization service → Organization records: reads / writes
backend/controllers/organizationController.js - Volunteer service → Volunteer records: reads / writes
backend/controllers/volunteerController.js - Biogas service → Biogas records: reads / writes
backend/controllers/biogasController.js