Inspiration
We had the opportunity to have a talk with representatives from WakeFern at the start of the hackathon. We were inspired by Wakefern's prompt to help college students receive groceries faster and at cheaper prices. As fellow college students who have limited financial capabilities and time, we were motivated to help alleviate this situation for students.
What it does
Our website takes a food recipe name given by the user, then it returns each of its ingredients and its prices based off of Wakefern's API library. Additionally we started implementing a function to locate Wakefern stores near the user.
How we built it
We built the backend using 3 APIs, 1 that contains the recipes, 1 that contains the ingredients available in stores and prices, and 1 that provides information on locations. Our backend involves 2 python files, one implementing the API from WakeFern to see the different ingredients found in the stores and the prices for these items at the stores. The other file implements the data from Edamam API which includes over 2 million different food recipes and the ingredients for each. We combine the info from the 2 databases in the back end to give the user the ingredients and price based on the inputted recipe.
Challenges we ran into
Implementing the WakeFern API and utilizing it in our program was difficult at first because the API was mainly performed on java platforms and we were more comfortable working with python. We also did not have the best time working with OpenStreetMap because it kept crashing due to too many indirect calls.
Accomplishments that we're proud of
We are proud of making a functional site that can be of use to students, and we were able to do this in under 24 hours. We are all freshmen in college who have not worked with programming languages, APIs, databases, frameworks, so we had to learn a lot during the event and implemented our newly learned knowledge into our project.
What we learned
We learned to connect html, JS and python, and we also learned to connect APIs and utilizes that databases provided by them. We learned to use platforms such as postman to analyze APIs before hand. We are immensely grateful for Github as it provided for a seamless experience in sharing and collaboration of code amongst our group.
What's next for Recipe Ingredient Finder
We want to use a larger database of Wakefern to make it more accessible to college students. We want to be able to explore and analyze more Wakefern stores so that we can be more widely available.
Built With
- css
- edamam
- fastapi
- html
- javascript
- python
- wakefernapi
Log in or sign up for Devpost to join the conversation.