Jeevan Ahaar
A Meal. A Smile. A Life.
The problem Jeevan Ahaar solves
Despite growing awareness, food waste remains a critical global issue, especially in urban areas. Restaurants, hotels, and individuals regularly discard large quantities of edible food due to a lack of:
1.Structured donation channels
2.Real-time coordination with NGOs
3.Assurance of proper food handling and delivery
Meanwhile, thousands in the same cities struggle with hunger and food insecurity.
โ ๏ธ Key Issues:
-
No quick and reliable way for donors to reach verified NGOs.
-
Food often goes to waste due to time-sensitive perishability.
-
Lack of transparency and tracking in current food redistribution efforts.
-
Donors fear misuse or lack of accountability.
Jeevan Aahar solves this by providing a tech-driven platform that ensures:
-
Instant connection between food donors and verified NGOs.
-
Image-based food quality preview for NGO approval.
-
Status tracking for each donation to ensure transparency.
-
Role-based access and authentication via Clerk to prevent misuse.
-
Our platform bridges the gap between excess and need, bringing technology, trust, and transparency to food donation.
Challenges we ran into
๐ 1. Role-Based Authentication with Clerk
Implementing separate login flows for Donors and Receivers using Clerk was initially tricky. Ensuring that each user sees the correct dashboard based on their role required extra logic and conditional routing.
โ
Solution: We used Clerk's session data combined with a role selection page to persist and route users accordingly.
๐ค 2. Handling Image Uploads
Since food quality is visually assessed by receivers, allowing donors to upload and preview images was critical. We faced issues with image previews, file formats, and database linking.
โ
Solution: We used the FileReader API in JavaScript for previews and linked image URLs with food entries in MongoDB efficiently using Mongoose.
๐ก 3. Real-time Food Availability Updates
We wanted to ensure that food uploaded by donors appears instantly for receivers, but without sockets or Firebase.
โ
Solution: We used client-side polling on the receiver dashboard to fetch fresh data periodically, balancing performance and responsiveness.
๐งช 4. Food Verification Logic (without AI)
Initially, we explored TensorFlow for automated food quality checks but found it too complex for our MVP.
โ
Solution: We replaced it with image-based manual approval by receivers, ensuring safety and simplicity.
๐ 5. Time Management
With multiple features to implement (uploading, approval system, dashboards), we had to prioritize ruthlessly.
โ
Solution: We focused on the core user journey โ login โ upload โ approval โ track โ and deferred advanced features like blockchain for future updates.
