About
## The problem it solves
SmartPantry addresses the common problem of food waste and manual pantry management by leveraging AI to automate grocery organization.
### It helps users by:
- Automatically scanning and extracting grocery items from shopping receipts using AI.
- Creating a digital pantry without requiring manual data entry.
- Estimating product expiry dates based on the type of grocery item.
- Sending timely email reminders before products expire.
- Helping reduce food waste by encouraging users to consume items before they spoil.
- Keeping a complete history of uploaded receipts for future reference.
- Saving time and effort by eliminating manual inventory management.
- Providing secure user authentication so every user has a private pantry.
- Promoting smarter grocery planning and more sustainable food consumption.
## Challenges we ran into
During development, I encountered several technical challenges that required careful problem-solving.
### Major challenges included:
- **Receipt Parsing:** Receipts come in different layouts, fonts, and image qualities, making accurate product extraction difficult.
- **AI Integration:** Integrating Google Gemini API and converting its responses into structured product data required multiple iterations.
- **Expiry Prediction:** Since receipts usually don't contain expiry dates, I developed logic to estimate realistic shelf lives based on product categories.
- **Reminder Automation:** Implementing background jobs to automatically check expiry dates and send email notifications without affecting application performance.
- **Database Design:** Organizing users, receipts, and pantry items efficiently while maintaining proper relationships in MongoDB.
- **Authentication:** Securing user accounts with JWT authentication and ensuring users only access their own pantry data.
- **Performance:** Optimizing API responses and reducing unnecessary processing during receipt uploads.
- **User Experience:** Designing a clean, responsive interface that makes receipt uploading and pantry management simple and intuitive.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











