Skip to content

sumit16sharma/recipe-recommendation-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Recommendation System

recipe_banner

The Recipe Recommendation System provides curated meal categories like desserts, appetizers, and snacks, offering personalized recommendations based on users' past selections and nutritional preferences.

Table of Contents

Functionality Overview

  1. Meal Categories

    1. The system categorizes meals into different types such as desserts, appetizers, and snacks.
    2. Users can select a specific meal category to explore.
  2. Curated Items:

    1. Within each meal category, the system presents a curated list of 25 items.
    2. These items are carefully selected to offer a diverse range of choices within the chosen category.
  3. User Selections:

    1. Users can click on individual meal items to view more details about them.
    2. This interaction helps the system understand users' preferences and interests.
  4. Personalized Recommendations:

    1. Allows users to refine recommendations based on specific nutritional criteria.
    2. Users can filter suggestions by calories, carbohydrates, fats, or proteins.
    3. Enables users to find items with similar nutritional content to their previous selections.

Algorithm for Recommendation

  1. Overview:

    1. Utilizes Euclidean distances to measure similarity between items.
    2. Recommends items based on user interactions and dietary preferences.
  2. Functionality:

    1. Accepts meal items, clicked items, and optional nutritional parameters.
    2. Identifies top 5 similar items for each clicked item.
  3. Recommendation Process:

    1. Calculates similarity scores between clicked and meal items.
    2. Ensures diversity in recommendations and customizes suggestions based on user preferences.

Working of Application

  • Go to Frontend Application using this URL

    url

  • Click on "Go to Next Page"

    click-next

  • Choose one of the Meal types (Let's click on Snack)

    choose_meal

  • We get 25 items for on Snack (Let's click on "Radish & Snap Pea Quinoa Salad and it has 200 calories")

    snak_items

  • We get information regarding that meal item such as ingredients and instructions to cook this meal (Now Let's click on Go Back Button to get back to Snack Section)

    info_page

  • After coming back to the snack section, now it recommends meals based on my previous meal's nutritional content such as calories, carbs, fat and protein

    backtosnak

Video Explanation

Recipe_recommendation_system_explanation.mp4

Installation

  1. Check Docker Installation:

    1. Ensure Docker is installed on your system.
    2. If not installed, download and install Docker.
  2. Clone the Repository:

     git clone https://github.com/sumit16sharma/recipe-recommendation-system/
  3. cd into the directory:

     cd recipe-recommendation-system
  4. Create a .env File in the backend repo and add credentials which I shared over the mail

     AWS_ACCESS_KEY_ID=XXXXXXX
     AWS_SECRET_ACCESS_KEY=XXXXXXXX
  5. Start Docker Compose:

    docker-compose up

Note: Docker Compose up may take 3-4 minutes for setting up containers and launching the frontend application.

Dependencies

Node.js React Python

About

Explore our Recipe Recommendation System: Personalized meal suggestions based on nutritional preferences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors