ChatBite is a web application that helps users create new recipes based on the ingredients they have on hand, and manage their favorite recipes in a user-friendly interface. This application aims to simplify the process of finding and creating new recipes, reducing food waste and inspiring users to try new dishes.
-
Recipe Generation: Users can input a list of ingredients they have on hand, and the application will generate a new recipe based on these ingredients. This helps users come up with creative ideas for meals without needing to purchase additional ingredients.
-
Recipe Management: Users can save their favorite recipes, either generated by the application or manually entered, in a personal recipe collection. This collection can be easily searched, sorted, and accessed for future use.
-
Search Functionality: Users can search for recipes in their collection using keywords, such as ingredients or dish names.
-
Interactive Recipe Cards: The application displays recipes in an interactive card format, featuring images, ingredients, instructions, and nutritional information. Users can easily save recipes to their collection with a single click.
-
Error Handling: The application provides user-friendly error messages when issues occur, such as a failure to generate a recipe or save a recipe to the collection.
- Generative AI: OpenAI Chat Completion gpt-3.5-turbo, DALL·E
- Frontend: React, Apollo Client, Tailwind CSS
- Backend: Node.js, Express, GraphQL, Apollo Server
- Database: MongoDB
For local:
- Clone this repository to your local machine.
- Install the required dependencies by running
npm installin the root folder of the project. - Start the development server by running
npm start. This will launch the application in your default web browser. - To use the application, simply enter a list of ingredients in the search bar and click "Make New Recipe". The generated recipe will be displayed in an interactive card format.
- To save a recipe to your collection, click the "Save Recipe" button on the recipe card.
- To view your saved recipes, navigate to the "Previous Recipes" section.
Feel free to submit issues or pull requests if you have suggestions for improvements or bug fixes. We welcome all contributions!
This project is licensed under the MIT License.
https://github.com/Andres-Zetina
https://github.com/jakester101
https://github.com/gengamask
https://github.com/Kevin-Wenner
https://github.com/alexnorrell

