A beautiful, modern web application that suggests recipes based on available ingredients. Built with React, TypeScript, and Google's Gemini AI, featuring a responsive design and bilingual support (English/Turkish). It has been developed with inspiration from StackBlitz and Bolt.
- 🤖 AI-powered recipe suggestions using Google's Gemini API
- 🌐 Bilingual support (English/Turkish)
- 💾 Local search history with persistence
- 🎨 Beautiful UI with animations using Framer Motion
- 📱 Fully responsive design
- 🌙 Modern gradient UI elements
- ⚡ Built with Vite for optimal performance
- Frontend Framework: React 18
- Language: TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- Animations: Framer Motion
- AI Integration: Google Generative AI (Gemini)
- Build Tool: Vite
- Development Tools: ESLint, PostCSS, Autoprefixer
- Node.js (v18 or higher)
- npm or yarn
- Google Gemini API key
- Clone the repository:
git clone https://github.com/mustafakbaser/Taste-Advisor-App.git
cd Taste-Advisor-App
- Install dependencies:
npm install
- Update
.env
file in the root directory and add your Gemini API key:
VITE_GEMINI_API_KEY=your_api_key_here
- Start the development server:
npm run dev
src/
├── components/ # Reusable UI components
│ └── LanguageSelector.tsx
├── utils/ # Utility functions and constants
│ └── translations.ts
├── App.tsx # Main application component
├── main.tsx # Application entry point
└── index.css # Global styles
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
The app uses Google's Gemini AI to generate recipe suggestions based on user-provided ingredients. The AI provides three recipes with detailed instructions.
- Seamless language switching between English and Turkish
- Persistent language preference
- Full translations for all UI elements
- Stores recent searches locally
- Displays timestamp and language for each search
- Quick access to previous recipes
- Limited to last 5 searches for optimal performance
- Smooth transitions using Framer Motion
- Responsive hover and click effects
- Loading states with animations
- Gradient backgrounds and accents
- Responsive card layouts
- Modern glassmorphism effects
- Intuitive language switcher
- Loading states and error handling
- Mobile-first design approach
The app is fully responsive and works seamlessly across:
- Desktop computers
- Tablets
- Mobile devices
Required environment variables:
VITE_GEMINI_API_KEY=your_gemini_api_key
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini AI for powering recipe suggestions
- Lucide React for beautiful icons
- Framer Motion for smooth animations
- Tailwind CSS for styling
- Vite for blazing fast development