Skip to content

Repository files navigation

IngredAI

IngredAI is an AI-powered recipe assistant built with Next.js. It helps users generate, organize, and discover safe, delicious, and easy-to-follow recipes based on their available ingredients and preferences and create workouts as per user requirements.

Features

  • AI Recipe Generation: Enter your ingredients and preferences to get a custom recipe generated by AI.
  • AI Workout Generation: Create workout as per your requirements with your equipment and available time.
  • Safety First: The AI validates all inputs for workout and recipes.
  • Recipe Organization: Save your favorite recipes and workout.
  • Modern UI: Clean, responsive interface using React and Next.js App Router.

Getting Started

First, install dependencies:

npm install
# or
yarn install
# or
pnpm install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 in your browser to use the app.

.env.local Structure

#CLERK
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

#GEMINI
GOOGLE_GENERATIVE_AI_API_KEY=

#MONGODB URL
DATABASE_URL=

#UNSPLASH
UNSPLASH_ACCESS_KEY=

API Overview

  • POST /api/recipe
    Generates a recipe based on user input.

    • Validates ingredient safety.
    • Returns a JSON object with recipe details.
  • POST /api/workout
    Generates a workout based on user input.

  • Validates the user input.

  • Returns a JSON object with workout details.

Technologies Used

Deployment

Deployed on Vercel

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

About

IngredAI is an AI-powered recipe assistant built with Next.js. It helps users generate, organize, and discover safe, delicious, and easy-to-follow recipes based on their available ingredients and preferences and create workouts as per user requirements.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages