餐悦行在线点餐程序是一个结合了 Spring Boot 后端、Vue 前端和微信小程序的在线点餐系统。该项目旨在为用户提供便捷的在线点餐体验,同时为餐厅提供高效的订单管理系统。
- 用户注册和登录
- 浏览菜单和搜索菜品
- 添加菜品到购物车
- 在线支付
- 查看订单历史
- 餐厅后台管理系统
- 后端:Spring Boot
- 前端:Vue
- 小程序:微信小程序
- JDK 8+
- Node.js 14+
- Maven 3+
- 微信开发者工具
-
克隆项目代码:
git clone https://github.com/33448821/canyuexing.git
-
进入后端目录并打包:
cd OrderFood mvn clean install
-
启动 Spring Boot 应用:
mvn spring-boot:run
-
进入前端目录并安装依赖:
cd order_food_vue npm install
-
启动 Vue 应用:
npm run serve
-
使用微信开发者工具导入
xcx
目录。 -
配置小程序的后台接口地址为后端服务的地址。
-
pages\canteen\canteen.js
-
pages\order\order.js
-
utils\http.js
- order_food_vue/src/utils/request.js
欢迎贡献代码!请 fork 本仓库并提交 pull request。如有问题您也打开一个issue讨论您想要更改的内容。
本项目采用 MIT 许可证。详情请参阅 LICENSE 文件。
The CanYueXing Online Ordering System is an integrated platform combining a Spring Boot backend, Vue frontend, and WeChat Mini Program. This project aims to provide users with a convenient online ordering experience while offering an efficient order management system for restaurants.
- User registration and login
- Browse menu and search for dishes
- Add dishes to the shopping cart
- Online payment
- View order history
- Restaurant backend management system
- Backend: Spring Boot
- Frontend: Vue
- Mini Program: WeChat Mini Program
- JDK 8+
- Node.js 14+
- Maven 3+
- WeChat Developer Tools
-
Clone the project repository:
git clone https://github.com/33448821/canyuexing.git
-
Navigate to the backend directory and package the application:
cd OrderFood mvn clean install
-
Start the Spring Boot application:
mvn spring-boot:run
-
Navigate to the frontend directory and install dependencies:
cd order_food_vue npm install
-
Start the Vue application:
npm run serve
-
Import the
xcx
directory using the WeChat Developer Tools. -
Configure the Mini Program's backend API address to match the backend service address.
pages/canteen/canteen.js
pages/order/order.js
utils/http.js
order_food_vue/src/utils/request.js
Contributions are welcome! Please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. For details, please refer to the LICENSE file.