🚀 Live Demo: https://smart-pantry-hcrj.onrender.com
Smart Pantry is a full-stack web application designed to help users efficiently manage their groceries, reduce food waste, and get intelligent recipe recommendations.
It allows users to:
- Track pantry items and expiry dates
- Get AI-powered recipe suggestions based on available ingredients
- Analyze usage patterns
- Optimize grocery planning
- Add, update, and delete pantry items
- Track quantities and expiry dates
- Organized dashboard view
- Suggest recipes based on available ingredients
- Fallback deterministic recipes if AI key not provided
- Smart ingredient matching system
- Pantry usage insights
- Ingredient trends
- Data visualization using charts
- Secure user signup & login
- JWT-based authentication
- MongoDB Atlas (cloud database)
- Deployed on Render
- Python (Flask)
- MongoDB (PyMongo)
- JWT Authentication
- HTML, CSS, JavaScript
- Tailwind CSS
- Chart.js
- Render (Web Service)
- MongoDB Atlas (Database)
smart-pantry/
│
├── app.py
├── config.py
├── requirements.txt
├── runtime.txt
│
├── database/
├── models/
├── routes/
├── services/
│
├── templates/
├── static/
│
└── datasets/
Create a .env file locally:
MONGO_URI=your_mongodb_uri
MONGO_DB_NAME=smart_pantry
SECRET_KEY=your_secret
JWT_SECRET_KEY=your_jwt_secret
OPENAI_API_KEY=your_key (optional)
git clone https://github.com/itsjayeshk/smart-pantry.git
cd smart-pantrypip install -r requirements.txtpython app.pyhttp://127.0.0.1:5000
POST /auth/signupPOST /auth/login
POST /pantry/addGET /pantry/items
GET /recommendations
GET /analytics
POST /auth/signup
{
"email": "test@example.com",
"password": "123456"
}- 🔔 Expiry notifications
- 🛒 Auto grocery list generation
- 📅 Weekly meal planning
- 🧠 Advanced AI recommendations
- 📷 Image-based ingredient detection
(Add your screenshots here)
Jayesh Khandelwal GitHub: https://github.com/itsjayeshk
- Flask Documentation
- MongoDB Atlas
- Render Deployment Platform