ChatGPT API Hackathon Project hosted by DonTheDeveloper.
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.
This project is deployed directly onto Vercel. mymealmentor.vercel.app
- TailwindCSS
- Typescript
- React
- Nextjs
- TRPC
- PlanetScale (MySQL)
- Auth0
- ChatGPT API
- Spoonacular API
- Vercel (hosting)
Follow the steps below:
- Download code from this repository.
- Install every dependency.
npm install
-
Create api keys from the following sources:
-
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'
- Run locally
npm run dev
- Enjoy!