๐ 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