# spingcloud **Repository Path**: springcloud_1/spingcloud ## Basic Information - **Project Name**: spingcloud - **Description**: Java后端仓库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-07-12 - **Last Updated**: 2024-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spingcloud #### 介绍 Java后端仓库 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1.实验环境: Windows 10、Idea 2021、pycharm、viscode 前端技术:vue3框架、echarts 后端技术:(1)Springcloud、SpringBoot、mybatis、eurkua、hystrix、getway网关等相关技术; (2)python、flask框架技术 一、项目总体架构 (1)后端总体架构设计 ![输入图片说明](https://foruda.gitee.com/images/1720771276746819391/6c2eaf3b_13486638.png "屏幕截图") (2)前端总体架构设计 ![输入图片说明](https://foruda.gitee.com/images/1720771302173573374/7421fe9f_13486638.png "屏幕截图") (3)数据库总体设计 ![输入图片说明](https://foruda.gitee.com/images/1720771317922997066/96b35f75_13486638.png "屏幕截图") (4)python中的Flask框架 ![输入图片说明](https://foruda.gitee.com/images/1720771402313922199/a683cfad_13486638.png "屏幕截图") 二、Eureka注册中心 ![输入图片说明](https://foruda.gitee.com/images/1720771348965661716/6e56cfa0_13486638.png "屏幕截图") 三、项目总体介绍 (1)登录部分 ![输入图片说明](https://foruda.gitee.com/images/1720771355557114300/eba8303c_13486638.png "屏幕截图") (2)注册部分 ![输入图片说明](https://foruda.gitee.com/images/1720771361206264339/e934d297_13486638.png "屏幕截图") (3)未登录状态 ![输入图片说明](https://foruda.gitee.com/images/1720771369019466408/7f843c31_13486638.png "屏幕截图") (4)登陆后 ![输入图片说明](https://foruda.gitee.com/images/1720771416999693858/301ffb8c_13486638.png "屏幕截图") (5)商品展示部分 ![输入图片说明](https://foruda.gitee.com/images/1720771455579396329/f35431cd_13486638.png "屏幕截图") (6)商品详情界面 ![输入图片说明](https://foruda.gitee.com/images/1720771441473525397/76673bbb_13486638.png "屏幕截图") (7)商品收藏和加入购物车 ![输入图片说明](https://foruda.gitee.com/images/1720771474157286263/1ad23486_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771482317646516/b20ce66f_13486638.png "屏幕截图") (8)我的收货地址实现高德地图 ![输入图片说明](https://foruda.gitee.com/images/1720771496206591671/25c0f3d0_13486638.png "屏幕截图") (9)商品下单 ![输入图片说明](https://foruda.gitee.com/images/1720771515199541400/9e738ad9_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771522421098479/dcc7dd50_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771529837418894/621b5dad_13486638.png "屏幕截图") (10)订单支付 内网穿透配置 ![输入图片说明](https://foruda.gitee.com/images/1720771542154156724/7362fc0c_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771555095566377/17c799cb_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771563622620708/21387a37_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771572913242146/998fb14b_13486638.png "屏幕截图") (11)chatgpt实现聊天 启动Flask框架 ![输入图片说明](https://foruda.gitee.com/images/1720771580667330418/9b119069_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771594962409816/745cde72_13486638.png "屏幕截图") ![输入图片说明](https://foruda.gitee.com/images/1720771604942641125/3da7bf37_13486638.png "屏幕截图") (13)Dashboard可视化监控 在这个项目中,我们成功实现了基于Spring Cloud的后端与Vue 3前端的前后端分离架构。后端利用Spring Cloud的强大生态,集成了Gateway网关、Eureka注册中心以及Hystrix熔断器,构建了高可用性、可扩展的微服务架构。Gateway网关作为API网关,负责路由转发和请求过滤,确保了服务的稳定与安全。Eureka注册中心实现了服务的自动注册与发现,简化了服务间的调用关系。Hystrix熔断器则有效防止了服务雪崩效应,增强了系统的容错能力。 前端采用Vue 3框架,结合Vue Router和Vuex,实现了高效的页面路由管理和状态管理。同时,项目集成了高德地图API,为商品展示提供了丰富的地理位置服务;引入支付宝支付SDK,支持了安全便捷的在线支付功能;还对接了ChatGPT接口,增强了应用的智能化交互体验。商品下单、点赞、收藏等功能也通过前后端的紧密协作,实现了流畅的用户体验。 整个项目在开发过程中,充分利用了Spring Cloud和Vue 3的优势,不仅提高了开发效率,还保证了系统的稳定性和可扩展性。通过前后端分离,实现了前端界面的快速迭代与后端服务的独立部署,为未来的功能扩展和性能优化打下了坚实的基础。 #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) [图片上传失败(image-U0bkGMZslA90kz01kY0K)]