🚀 Vibe Coding
Through the Kiro editor, the full process development from requirements analysis, architecture design to code implementation is realized.English | 中文
An AI-powered intelligent recipe generation platform supporting Chinese Eight Great Cuisines + International Cuisine, providing nutritional analysis, wine pairing, recipe image generation, and comprehensive cooking guidance.
# Clone the project
git clone https://github.com/liu-ziting/what-to-eat.git
cd what-to-eat
# Install dependencies
npm install
# Configure environment variables
cp .env.example .env
# Edit .env file and add your AI API keys
# Start development server
npm run dev
# Type check + build
npm run build
# Netlify build
npm run build:netlify
# Preview build
npm run preview
📖 For detailed deployment guide, see: DEPLOYMENT.md
# Text Generation API (01.AI)
VITE_TEXT_GENERATION_BASE_URL=https://api.lingyiwanwu.com/v1/
VITE_TEXT_GENERATION_API_KEY=your_text_api_key_here
VITE_TEXT_GENERATION_MODEL=yi-lightning
# Image Generation API (Zhipu AI)
VITE_IMAGE_GENERATION_BASE_URL=https://open.bigmodel.cn/api/paas/v4/
VITE_IMAGE_GENERATION_API_KEY=your_image_api_key_here
VITE_IMAGE_GENERATION_MODEL=cogview-3-flash
src/
├── components/ # Reusable components
│ ├── ConfirmModal.vue # Confirmation dialog
│ ├── CookingLoader.vue # Cooking animation loader
│ ├── FavoriteButton.vue # Favorite button
│ ├── GlobalNavigation.vue # Global navigation
│ ├── RecipeCard.vue # Recipe card
│ ├── NutritionAnalysis.vue # Nutrition analysis
│ └── ...
├── config/ # Configuration files
│ ├── ai.ts # AI model configuration
│ ├── cuisines.ts # Cuisine configuration
│ ├── ingredients.ts # Ingredients configuration
│ └── ...
├── services/ # Service layer
│ ├── aiService.ts # AI API service
│ ├── favoriteService.ts # Favorites service
│ ├── imageService.ts # Image service
│ └── ...
├── views/ # Page components
│ ├── Home.vue # Home page
│ ├── Favorites.vue # Favorites page
│ ├── SauceDesign.vue # Sauce designer
│ └── ...
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
└── router/ # Router configuration
src/config/cuisines.tssrc/views/src/router/src/services/aiService.tssrc/services/imageService.ts