Skip to content

Input user ingredients and the app returns a list of recommended recipes using ChatGPT API. The recipes can be viewed on a separate page in more detail such as cooking instructions. The user can also save a recipe on a list while they are logged in using Auth0.

Notifications You must be signed in to change notification settings

benNthen/intelliChef

Repository files navigation

IntelliChef

The Intellichef App is a user-friendly platform designed to help you decide what to cook based on the ingredients you have in your kitchen. It utilizes the ChatGPT API and React to provide a seamless experience in generating, saving, and managing recipes.

Getting Started

Follow these steps to set up and run the IntelliChef App:


Built with

React Javascript Typescript HTML5 CSS MySQLite knex js Nodejs docker ChatGPTAPI

Prerequisites

  • Node.js: Ensure Node.js is installed on your machine.

Installation

  • Follow these steps to set up and run the IntelliChef App:

    1. Get a free API Key at [https://platform.openai.com/api-keys]

    2. Clone this repo and navigate to it:

      git clone git@github.com:pikopiko-2023/intelliChef.git
      cd intelliChef
    3. Install NPM packages:

      npm install
    4. Enter your API in .env

      CHAT_API_KEY = ENTER YOUR API KEY
    5. You should have Knex.js installed as a dependency

      npm install knex
    6. Make sure the database schema is up to date with the latest changes.

      npm run knex migrate:latest
      npm run knex seed:run
    7. Start the server with npm run dev
      You can find the server running on http://localhost:3000 and the client on http://localhost:5173.


How to Use

  • Follow these simple steps to make the most of the Intellichef App:

    1. Account Creation or Login:
      Log in to the app or create a new account to establish your user profile.

    2. Input Your Ingredients:
      Open the app and use the input field to list the ingredients available in your fridge or pantry.

    3. Generate Recipe Suggestions:
      After entering your ingredients, click the "Generate Recipes" button to receive personalized recipe suggestions.

    4. Explore Recommendations:
      Explore the three suggested recipes. Click on the one that piques your interest for detailed information.

    5. Save Your Favorite Recipes:
      If you discover a recipe you love, save it to your favorites for quick access.

    6. Efficiently Manage Saved Recipes:
      Access and organize your saved recipes by clicking on "Manage My Recipes" in the sidebar.

    7. Quick Navigation:

      • Click on "Generate Recipe" in the sidebar to swiftly generate a new recipe.
      • Below the sidebar, clicking on a saved recipe's name directly navigates you to the detailed recipe page.

    Enjoy cooking with ease using our app!


Contact

Notes

  • API Version: The project currently uses the ChatGPT API with the GPT-4 model. However, please note that after the project is completed, it is scheduled to transition to the GPT-3.5-turbo model. Kindly take note of this for future reference.

About

Input user ingredients and the app returns a list of recommended recipes using ChatGPT API. The recipes can be viewed on a separate page in more detail such as cooking instructions. The user can also save a recipe on a list while they are logged in using Auth0.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •