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.
- 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.
First, install dependencies:
npm install
# or
yarn install
# or
pnpm installThen, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 in your browser to use the app.
#CLERK
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
#GEMINI
GOOGLE_GENERATIVE_AI_API_KEY=
#MONGODB URL
DATABASE_URL=
#UNSPLASH
UNSPLASH_ACCESS_KEY=
-
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.
- Next.js (App Router)
- React
- TypeScript
- Tailwind CSS
- Shadcn
- Aceternity
- MongoDB
- Clerk
- Unsplash
- AI Model: Google Gemini (via API)
Deployed on Vercel
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.