Inspiration
As a broke college student, I'm always trying to maximize my groceries, but with a busy schedule its hard to keep track what items I have in my pantry and when they're about to expire. Not to mention dealing with the dilemma of what dish can I cook with the items in my pantry gives me another headache, so by pairing the tracker with an ai chatbot that will give recipes based on whats in my pantry will save my groceries while also providing me yummy dishes.
What it does
The pantry tracker app will provide you a list of what food items are in your pantry, including the quantity, purchase date, and expiration date. You can see what foods are expired / out of stock, or close to expiring / low in stock. You can see your current grocery list and have the option to restock on the expired items. You can download the grocery list to your phone to take it with you while you go to the store. You can also use a chatbot feature to ask for recipes based on whats in your pantry.
How we built it
I used a python framework called Streamlit to assist me in the UI/UX, pandas another python library to handle datasets, and some csv files for holding the data. The 1st thing I did was set up streamlit on my project, this framework provides a local host to see my application and provides easy to use components to design my application. I then used Pandas to view and manipulate the data, which was held in csv files. put chatgbt stuff here
Challenges we ran into
Some challenges I ran into was:
- adding to a csv file using pandas: I know, this task is very simple but for me it has been a while since I last did this and with the fact that I also forgot how to format and create a csv file in vscode has created a hurdle in my progress.
- installing openai module on the right virtual environment: I'm not very familiar with virtual environments so I was unaware that I had to install the module I wanted on that specific virtual environment. During this time I thought it was my python version so I changed it around but luckily my intuition thought what if I had to install that module on the environment I was working in and boom it worked!
Accomplishments that we're proud of
I'm proud of creating an application with various features and UX components, with data being shown and manipulated with successfully from the user end. From my previous experience with creating a similar webpage with CRUD principles I only ended up creating the backend with no frontend done. So comparing my past experience to this one, I'm very happy with the difference in projects.
What we learned
I learned that its best to always seek out new technologies, always read on the latest ones and try them out, because new frameworks / technologies are coming out making some part of development easier for developers! I learned of this streamlit application recently and it made creating this app so much easier for me.
What's next for Flavor Savor
Whats next for Flavor Savor is to add a grocery store locator, and even an automatic purchase for your groceries. I could use instacart as a 3rd party client to purchase the items that need restocking or purchase the items on your grocery list. That way this pantry tracker will do everything from notifying you of your pantry items, will auto restock, and provide you will recipes to eat your pantry items. There will be no food wasted, time is utilized efficiently, and you're taste buds will thank you for the delicious meals you created.
Log in or sign up for Devpost to join the conversation.