Skip to content

alexarevalo9/menu-ai

Repository files navigation

Menu AI Generator

The Menu AI Generator is a web application that allows users to generate menus based on a list of foods, their weight, and their weight goals. The application uses the OpenAI API to generate menus that are tailored to the user's needs. The project is built using T3 Stack, React.js, Next.js, Tailwind CSS, tRPC and the OpenAI API.

DeepScan grade License: MIT

Installation

To run the Menu AI Generator locally, please follow the steps below:

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running npm install in the root directory of the project.
  3. Set up your OpenAI API credentials by creating a .env.local file and adding your API key. Refer to the .env.example file for an example.
  4. Start the development server by running npm run dev.

Usage

Once you have the Menu AI Generator up and running, you can start generating menus by following these steps:

  1. Enter a list of foods that you would like to include in your menu. You can enter as many foods as you like, separated by commas.
  2. Enter your current weight and your weight goal (either to lose weight or gain weight).
  3. Click on the "Generate Menu" button to generate a menu that is tailored to your needs.

The generated menu will include a list of meals for breakfast, lunch, and dinner, as well as snacks. Each meal will include a list of foods that you can choose from. You can customize the menu by removing or adding foods as needed.

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request with your changes. We welcome all contributions, including bug fixes, feature requests, and documentation updates.

License

This project is licensed under the MIT license. See the LICENSE file for more details.