# takeout **Repository Path**: ws369476056/takeout ## Basic Information - **Project Name**: takeout - **Description**: 外卖平台项目 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-10 - **Last Updated**: 2024-08-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### **项目介绍** *** 外卖平台包括系统管理后台和移动端应用两部分。系统管理后台主要面向餐饮内部员工,使其能够高效地管理和维护餐厅的菜品、套餐和订单等信息。而移动端应用则旨在为消费者提供便捷的服务,允许用户在线浏览菜品、添加购物车并进行下单等操作。为了进一步提升平台的并发处理能力和可维护性,在原有的单体架构之上进行了优化,将系统按照功能将其拆分成独立的微服务模块,包括菜品、分类、套餐、订单、优惠券、购物车、员工、网关等,从而增强系统的灵活性并提升其并发性能。 #### **开发环境** *** * JDK 8 * MAVEN 3.6.2 * Node 12.18.3 * MySQL 8.0 * IntelliJ IDEA 2021.3(可选) * Redis 3.2 * CentOS 7(可选) ####后端技术选型 | 技术 | 版本 | 说明 | 官网 | | :------------------- | :--------- | :--------------------------------------------------- | :---------------------------------------------------------: | | Spring Cloud | 2021.0.3 | 微服务开发的一站式解决方案 | [进入学习](https://spring.io/projects/spring-cloud) | | Spring Cloud Alibaba | 2021.0.4.0 | 阿里巴巴贡献的 Spring Cloud 微服务开发一站式解决方案 | [进入学习](https://github.com/alibaba/spring-cloud-alibaba) | | Spring Boot | 2.7.9 | 容器 + MVC框架 | [进入学习](https://spring.io/projects/spring-boot) | | Redis | 3.2.100 | 分布式缓存支持 | [进入学习](https://redis.io/) | | Caffeine | 3.1.0 | 本地缓存支持 | [进入学习](https://github.com/ben-manes/caffeine) | | MySQL | 8.0 | 数据库服务 | [进入学习](https://www.mysql.com/) | | MyBatis | 3.4.6 | ORM 框架 | [进入学习](https://mybatis.org/) | | MyBatis-Plus | 3.4.3 | MyBatis 增强工具[简介 | [进入学习](https://mybatisplus.vercel.app/guide/) | | Spring Security | 5.7.7 | 安全服务框架 | [进入学习](https://spring.io/projects/spring-security) | | Swagger | 2.9.2 | API文档工具 | [进入学习](https://swagger.io/) | | Lombok | 1.18.26 | 简化对象封装工具 | [进入学习](https://github.com/projectlombok/lombok) | | JJWT | 0.9.0 | JWT登录支持 | [进入学习](https://github.com/jwtk/jjwt) | | EasyExcel | 3.0.5 | Excel处理工具 | [进入学习](https://easyexcel.opensource.alibaba.com/) | | Hutool | 5.8.11 | Java工具类库 | [进入学习](https://hutool.cn/?from=RedisFront) | ####前端技术选型 | 技术 | 版本 | 说明 | 官网 | | :----------- | :----- | :------------------------------------- | :-----------------------------------------: | | Vue.js | 3.2.13 | 渐进式 JavaScript 框架 | [进入学习](https://vuejs.org ) | | Vue Router | 4.0.15 | Vue.js 的官方路由 | [进入学习](https://router.vuejs.org) | | axios | 0.27.2 | 基于 promise 的网络请求库 | [进入学习](https://axios-http.com/) | | element-plus | 2.2.0 | 基于 Vue 3,面向设计师和开发者的组件库 | [进入学习](https://element-plus.org/zh-CN/) | *** #### 项目结构 **** ```xml takeout-cloud ├── takeout-api -- 基于 OpenFeign 的远程调用模块 ├── takeout-cart -- 购物车微服务 ├── takeout-category -- 菜品分类/套餐/优惠卷微服务 ├── takeout-common -- 项目核心模块,供其它各个业务微服务依赖 ├── takeout-dish -- 菜品微服务 ├── takeout-gateway -- 基于 Spring Cloud Gateway 构建的微服务网关 ├── takeout-order -- 订单微服务 ├── takeout-user -- 员工微服务 ├── takeout-user-front -- 用户微服务 ```