/recipe-generator

A simple web application that generates recipes based on the ingredients you have. Users can select the difficulty level of the recipe, and the generated recipes include detailed nutrition facts. Built with Node.js, Express, and the OpenAI GPT-4 API.

Primary LanguageJavaScriptMIT LicenseMIT

Recipe Generator

A simple web application that generates recipes based on the ingredients you have. Users can select the difficulty level of the recipe, and the generated recipes include detailed nutrition facts. Built with Node.js, Express, and the OpenAI GPT-4 API.

Features

  • Enter available ingredients to generate recipes
  • Select recipe difficulty (Easy, Medium, Hard) (Next feature)
  • Detailed nutrition facts for each recipe (Next feature)

Technologies

  • Node.js
  • Express
  • OpenAI API
  • HTML
  • CSS
  • JavaScript

Usage

  1. Install dependencies: npm install
  2. Set your OpenAI API key in a .env file
  3. Start the server: node server.js
  4. Open your browser and navigate to http://localhost:3000