Skip to content

Type in a prompt and get steps to make that food. Auth included so users have a library of past meals.

Notifications You must be signed in to change notification settings

mtlh/MealMentor

Repository files navigation

MealMentor

ChatGPT API Hackathon Project hosted by DonTheDeveloper.

Thumbnail Image

About

This project is a Cooking App featuring food and chatgpt apis to gather recipes, generate instructions/ingredients and save to a user library; try it out using a feature full demo version with one click.

Built main features as part of a hackathon from March -> April 2023.

Demo

This project is deployed directly onto Vercel. mymealmentor.vercel.app

Technologies

  • TailwindCSS
  • Typescript
  • React
  • Nextjs
  • TRPC
  • PlanetScale (MySQL)
  • Auth0
  • ChatGPT API
  • Spoonacular API
  • Vercel (hosting)

How to deploy locally

Follow the steps below:

  1. Download code from this repository.
  2. Install every dependency.
npm install
  1. Create api keys from the following sources:

    1. Auth0
    2. OpenAI/ChatGPT
    3. PlanetScale
    4. FoodAPI
  2. Get all required keys setup in a .env file.

AUTH0_SECRET="key_goes_here"
AUTH0_BASE_URL="url_goes_here"
AUTH0_ISSUER_BASE_URL="auth0_url_goes_here"
AUTH0_CLIENT_ID="clientid_goes_here"
AUTH0_CLIENT_SECRET="key_goes_here"
OPENAI_API_KEY="key_goes_here"
DATABASE_URL='url_goes_here'
FOOD_APIKEY='key_goes_here'
  1. Run locally
 npm run dev
  1. Enjoy!

About

Type in a prompt and get steps to make that food. Auth included so users have a library of past meals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published