Skip to content

Find cheap meals to make at home and the best grocery stores to buy them at. Project for CodeJam 2023

Notifications You must be signed in to change notification settings

thabnir/CookCheap

Repository files navigation

CookCheap

Welcome to CookCheap!

Inspiration

Inflation is skyrocketing. Life is expensive. Students are poor. Sometimes, Metro's got a sweet deal on carrots, but figuring out the best prices for a whole shopping list can be a daunting task. CookCheap emerges as the hero for penny-pinching epicureans, aiming to ease the burden of tight budgets. Our mission is to empower everyone to savor life's pleasures, starting with a scrumptious meal that won't break the bank.

What it does

CookCheap is your culinary companion on a budget! Whether you're a kitchen maestro with a list of favorite ingredients or just snapped a pic of a mystery dish, CookCheap has your back. We've made sure our AI can decipher your photos, revealing the ingredients like a culinary detective. Then, armed with the shopping savvy of a budget guru, we scrape prices from your favorite grocery stores. CookCheap serves up the delectable results, listing recipes from the thriftiest to the tastiest. Click the magic button, and voilà! You're on your way to the cheapest feast in town, all from the comfort of your kitchen.

How we built it

In the kitchen of innovation, we whipped up CookCheap using a blend of tech delights. We stirred in the Spoonacular API for a dash of recipe inspiration, Logmeal API for that special ingredient detection flair, and seasoned it with the magic of web scraping. Our trusty libraries, including bs4 and Selenium, danced through the aisles of online grocery stores like Provigo, Adonis, Metro, and more, snagging prices for the culinary treasure hunt. The result? A web interface that's both your digital sous-chef and budget-saving sidekick. CookCheap: because eating well shouldn't cost a fortune!

Challenges we ran into

Navigating the API was a learning curve for most of us. Mastering API calls, deciphering JSON files, and connecting Flask with HTML and JavaScript demanded perseverance and collaboration. As a team, Git became our double-edged sword. Code versions played hopscotch, files reverted to previous states, and the intricacies of Git commands during collaborative coding tested our collective patience. Merge conflicts emerged as a common adversary, requiring diligent resolution through effective communication and collaborative problem-solving. Web scraping introduced its own complexities, especially when dealing with CSV files housing grocery store data. Coordinating the extraction and integration of information was quite demanding.

Accomplishments that we're proud of

Tackling web scraping, a previously unexplored domain, required adaptability. Creating a Flask website seamlessly integrated with Spoonacular and Logmeal APIs highlighted our capacity to build a user-friendly space. Incorporating image processing further added sophistication to the fronted. Exploring caching underscored our commitment to optimization, enhancing platform performance and ensuring a smooth user experience.

What we learned

Our coding journey was a crash course in adaptability, mastering web scraping, and deciphering APIs. Image processing brought new skills in uncovering recipes. Caching taught us optimization for better platform performance, while Git challenges emphasized effective communication. In a nutshell, continuous learning, adaptability, and teamwork define our team's growth.

What's next for CookCheap

  • Implement a dish recommendation system.

About

Find cheap meals to make at home and the best grocery stores to buy them at. Project for CodeJam 2023

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •