# Yameal **Repository Path**: johnhi/yameal ## Basic Information - **Project Name**: Yameal - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-19 - **Last Updated**: 2026-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Yameal - 家庭点菜做菜小程序 ## 快速开始 ### 1. 启动后端 ```bash cd backend pip install -r requirements.txt python run.py ``` 后端运行在 http://localhost:8000 ### 2. 打开小程序 1. 下载 [微信开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html) 2. 导入 `miniprogram` 目录 3. 在 `project.config.json` 中替换 `appid` 为你的小程序 AppID 4. 在开发者工具中编译运行 ### 3. 配置 在 `backend/app/config.py` 中配置: - `WX_APPID` / `WX_SECRET`:微信小程序配置 - `LLM_API_KEY`:大模型 API Key - `LLM_BASE_URL`:大模型 API 地址 ## 项目结构 ``` Yameal/ ├── backend/ # Python 后端 │ ├── app/ │ │ ├── api/ # API 路由 │ │ ├── models/ # 数据库模型 │ │ ├── schemas/ # 请求/响应模型 │ │ ├── services/ # 业务逻辑 │ │ ├── config.py # 配置 │ │ ├── database.py # 数据库连接 │ │ └── main.py # FastAPI 入口 │ └── requirements.txt ├── miniprogram/ # 微信小程序 │ ├── pages/ │ │ ├── index/ # 点菜页 │ │ ├── manage/ # 做菜管理页 │ │ ├── order/ # 我的点菜页 │ │ └── ai/ # AI推荐页 │ ├── utils/api.js # API 封装 │ ├── app.js # 小程序入口 │ └── app.json # 小程序配置 └── 需求.md ```