Enhanced Recipe Recommender: Introducing additional features and addressing issues for an improved user experience.
Click here to watch - Youtube Video
Meet Recipe Recommender, your ultimate kitchen companion! Say goodbye to the dilemma of deciding what to cook with the ingredients on hand. We've revolutionized the cooking experience with an application that effortlessly suggests delicious recipes based on your kitchen inventory.
Unlock the full potential of your pantry and fridge as our innovative software guides you in selecting perfect dishes tailored to your current ingredients. Cooking is now an exciting adventure rather than a daunting task. Immerse yourself in a realm of limitless culinary possibilities with Recipe Recommender.
We've added numerous entertaining new features and fixes to enhance user-friendliness.
-
Craving enchiladas but unsure how to cook Mexican food? Now, you can search for recipes by names! Just type in "enchiladas," choose a recipe based on its features, and enjoy.
-
Imagine finding interesting recipes during your commute. With another new feature, you can save them on the go. We've also introduced dedicated user profiles. Sign up, log in, and save your favorite recipes under your profile in the "bookmarks" section. When you're ready to cook, everything will be waiting for you.
-
That's not all! We've removed non-functional buttons, technically known as "refactoring the system."
-
Your profile, information, and favorite recipes now have a dedicated space. Secure logins and logouts ensure no duplicate entries or exposed credentials, making the system more secure.
More about our new additions in our next section!
Presenting our latest additions: Here's a comprehensive list of all our new features, enhancements, and upgrades!
- User Profile: In our application, users can now establish a profile with a unique username and password, allowing seamless login and logout. This facilitates personalized experiences and customized access to preferences and activities. Further details will be discussed in the following points. Your profile, information, and preferred recipes now inhabit a designated area, simplifying the management of all your belongings in one organized space.
- Bookmarks: Picture this scenario: You're commuting, scrolling through intriguing recipes in our app. Thanks to a cutting-edge feature, you can now save them instantly. The introduction of dedicated user profiles elevates your experience. Simply sign up, log in, and curate your favorite recipes in the "bookmarks" section under your profile. When the time comes to cook, everything awaits you – seamlessly organized and easily accessible.
- Search for recipes by name: Previously limited to ingredient-based searches only, our system now boasts an exciting upgrade. You can now search for recipes by name! Ever craved enchiladas without knowing the recipe? Simply input "enchiladas," peruse based on features, and relish the culinary journey.
- Refactoring the UI: We've eliminated inactive buttons and links, employing a technical process termed "system refactoring" to enhance functionality and optimize the user interface.
- System security upgrade: We observed some passwords present in the codebase, which is a major security threat. We have ensured to removed this and move it to the DB. Additionally, we have implemented secure logins and logouts ensuring the prevention of duplicate entries and safeguards credentials, fortifying the overall security of the system.
- The requirements.txt file has been updated to ensure forward compatibility by specifying package versions greater than or equal to the ones explicitly mentioned. This modification allows for the installation of packages with versions that meet or exceed the specified ones, thus accommodating future updates and maintaining compatibility with evolving dependencies.
- User Registration: Establish a unique username and password; no duplicate usernames allowed, ensuring password confidentiality.
- User Authentication: Log in using the correct username and password for secure access.
- Search Recipes by Ingredients: Input your available ingredients to discover relevant recipes based on ingredient names.
- Search Recipes by Dish Name: Locate recipes by specifying the dish name in the search.
- Add a Recipe: Share details such as ingredients, dish name, time, cuisine, instructions, and optional images to contribute your recipe.
- Bookmark Favorite Recipes: Save preferred recipes for easy access.
- View Bookmarked Recipes in User Profile: Access and review all saved recipes conveniently stored under your user profile.
- Logout: Securely log out to protect your profile information and activities.
Source documentation can be found at: Recipe Recommender Docs
Get Recipes: Retrieve a list of recipes based on specified filters like ingredients, cuisine, and page parameters. Success returns a code of 200 with the recipe list; error returns code 500 with an error message.
Get Recipe Cuisines: Fetches available cuisines, responding with a code of 200 and an array of cuisine strings on success. In case of an error, it returns a code of 500 with an error message.
Add Recipe: Allows users to add a new recipe via the /addRecipe endpoint, responding with a code of 200 and the inserted recipe's ID on success. In case of an error, it returns a code of 500 with an error message.
Get Ingredients: Retrieves a list of distinct ingredients through the /callIngredients endpoint. Success returns a code of 200 with an array of ingredient strings; error returns code 500 with an error message.
User Signup: Enables user registration at the /signup endpoint. Success returns a code of 200 with a success indicator; error returns code 500 with an error message.
User Login: Authenticates a user via the /login endpoint, returning a code of 200 with a success indicator and user object on success. In case of an error, it returns a code of 500 with an error message.
Get Bookmarks: Retrieves bookmarked recipes for a user through the /getBookmarks endpoint. Success returns a code of 200 with an array of bookmarked recipes; error returns code 500 with an error message.
Add Recipe to User Profile: Adds a recipe to a user's profile bookmarks via the /addRecipeToProfile endpoint. Success returns a code of 200 with the count of modified items; error returns code 500 with an error message.
Detailed documentation can be found at: API Docs
Detailed documentation can be found at: TechStack Docs
Check out our comprehensive YouTube video demonstrating each step for easy guidance. Project Setup
-
clone repository using
git clone https://github.com/pnprathima/Recipe_Recommender.git
-
setup for frontend open terminal and navigate to the frontend folder and execute the following:
npm install
-
setup for backend open terminal and navigate to the backend folder and execute the following:
npm install
- start backend server using:
npx nodemon
- start frontend server using:
npm start
- Automatically a browser window is opened which shows frontend.
- run
npm test
for running the tests [Dependencies: Jest, Chai, Supertest]
- Major release 3.1 - Major release to add search by recipe, user registration, user login and bookmarks.
- Hotfix Release 3.1.2 - Minor version release to add test case for login
- Major Release 3.2 - Major release- Included test cases addition, user registration, minor bug fixes and documentation updates
Read our detailed release notes
This project is licensed under the terms of the MIT license. Please check License for more details.
Please see our CONTRIBUTING.md for instructions on how to contribute to the project by completing some of the issues.
Implement personalized diertary requirements based filtering.
Meal planning- saving data for all meals of the day.
Voice to text integration.
Chatbot integration- to answer quick queries about the recipe.
Annadurai,Harshitha
Bhoja Ramamanohara,Pannaga Rao
Masineni Prasanna Kumar,Karthik
Niranjana,Prathima Putreddy
Common issues observed and solutions:
- requirements.txt failing: this issue should no longer be seen, as we have used ~= to ensure your systems pick up versions compatible with the other packages. However, if you happen to see the issue, modify the requirements.txt file to use a more recent version.
- python was not found: we recommend using python3 as some of the modules are available only on Python3. You may either install Python3 or setup a virtual environment(we suggest the latter if you are currently running other applications on python2) Facing other issues with the application? Mail us - [email protected]
Made with ❤️ on GitHub.