Skip to content

berna-ozer/Project-Personal-Food-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ironhack Logo

Project: Yummy Food - Personal Food Assistant

Youtube Video for Demo:

Yummy Food Demo


Overview

Yummy Food is an interactive Streamlit web application that serves as your personal food assistant. It helps you discover new recipes based on your meal and diet preferences, provides detailed ingredient lists, and even helps you find nearby restaurants or the cheapest ingredients for your selected recipe. Whether you're planning to cook at home or dine out, Yummy Food has you covered.

Features

  • Meal and Diet Selection: Choose your preferred meal type (e.g., Main course, Dessert) and diet type (e.g., Vegetarian, Vegan).

  • Recipe Suggestions: Get recipe suggestions based on your preferences, including detailed health scores and preparation times.
  • Ingredient List and Shopping: View detailed ingredient lists with amounts, and search for the best prices at local supermarkets (e.g., Aldi).

  • Cooking Instructions: Follow step-by-step cooking instructions to prepare your chosen recipe.
  • Restaurant Search: If you do not want to cook, find the best restaurants near you that match your selected recipe or diet preferences.

Installation

  1. Clone the Repository:
    git clone https://github.com/yourusername/yummy-food.git
  2. Install the Required Dependencies:
    pip install -r requirements.txt
  3. Run the Application:
    streamlit run app.py

Usage

  1. Welcome Page:

    • The application begins with a welcome page that introduces the tool and guides you through the setup process.
  2. Meal Selection:

    • Select your meal preference (e.g., Main course, Side dish, Dessert).
  3. Diet Selection:

    • Choose your dietary restrictions or preferences (e.g., Gluten Free, Ketogenic, Vegetarian, Vegan).
  4. Recipe Selection:

    • Get a list of recipe suggestions based on your chosen meal and diet preferences.
    • View recipe details including the title, health score, preparation time, and more.
  5. Ingredients:

    • View and prepare your ingredient list for the selected recipe.
    • Option to search for the best prices for these ingredients from local supermarkets (e.g., Aldi).
  6. Cooking Instructions:

    • Follow detailed, step-by-step instructions to prepare your selected recipe.
  7. Restaurant Search:

    • Search for nearby restaurants that match your selected recipe or diet type, using your provided address.

API Keys

The application requires API keys to function properly. Ensure you have the following:

  • Google Maps API Key: For geocoding and restaurant search.
  • Spoonacular API Key: For fetching recipes and associated data.

Place these keys in the following files within the project directory:

  • gmaps_secrets.txt: Contains the Google Maps API Key.
  • spoonacular_secrets.txt: Contains the Spoonacular API Key.

Dependencies

  • Streamlit: For creating the web app interface.
  • Requests: For handling API requests.
  • Pandas: For data manipulation and display.
  • Selenium: For web scraping supermarket data.
  • PIL (Pillow): For handling image data.
  • WebDriver Manager: For managing the Selenium WebDriver.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages