代码拉取完成,页面将自动刷新
同步操作将从 cjbi/weshop 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Weshop是基于Spring Cloud(Greenwich)开发的小程序商城系统,提供整套公共微服务服务模块,包含用户中心、商品中心、订单中心、支付中心四大基础服务模块,微信端、管理平台两大聚合服务模块,支持服务治理、监控和追踪等功能。
管理平台功能还没有实现,很多功能未完善,没太多时间维护。感兴趣的Fork一份自己完善。
weshop
├── weshop-common -- 框架公共模块
├── weshop-eureka-server -- eureka注册中心[端口:8761]
├── weshop-config-server -- 配置中心
├── weshop-api-gateway -- api网关[端口:8020]
├── weshop-hystrix-dashboard -- 断路器监控面板[端口:1301]
├── weshop-example -- 项目示例工程
| ├── weshop-example-api -- 远程服务api接口
| ├── weshop-example-provider -- 服务提供方[端口:9998]
| ├── weshop-example-consumer -- 服务消费方[端口:9999]
├── weshop-user-api -- 用户中心api
├── weshop-user -- 用户中心基础服务
├── weshop-goods-api -- 商品中心api
├── weshop-goods -- 商品中心基础服务
├── weshop-order-api -- 订单中心api
├── weshop-order -- 订单中心基础服务
├── weshop-storage-api -- 对象存储服务api
├── weshop-storage -- 对象存储服务
├── weshop-wechat -- 微信端聚合服务
├── weshop-wechat-ui -- 微信小程序页面
├── weshop-admin -- 管理平台聚合服务
├── weshop-admin-ui -- 管理平台页面
├── weshop-pay-api -- 支付中心api
├── weshop-pay -- 支付中心基础服务
模块划分
技术 | 名称 | 版本 | 官网 |
---|---|---|---|
Spring Boot | 应用框架 | 2.1.2.RELEASE | https://projects.spring.io/spring-boot/ |
spring-cloud-netflix | 微服务框架 | Greenwich.RELEASE | https://projects.spring.io/spring-cloud/ |
MyBatis | ORM框架 | 3.2.1 | http://www.mybatis.org/mybatis-3/zh/index.html |
Mapper | MyBatis 通用 Mapper4 | 4.0.0 | https://gitee.com/free/Mapper |
MyBatis Generator | 代码生成 | 1.3.5 | http://www.mybatis.org/generator/index.html |
Swagger2 | 在线Api文档 | 2.9.2 | https://swagger.io/ |
Thymeleaf | 模板引擎 | 3.0.9.RELEASE | https://www.thymeleaf.org/ |
Logback | 日志组件 | 1.1.3 | https://logback.qos.ch |
Druid | 数据库连接池 | 0.2.23 | https://github.com/alibaba/druid |
Hibernate Validator | 后端校验框架 | 5.4.2.Final | http://hibernate.org/validator/ |
RabbitMQ | 消息中间件 | 5.4.3 | http://www.rabbitmq.com/ |
Redis | 缓存 | 5.0.3 | https://redis.io/ |
Zipkin | 链路追踪 | 2.12.0 | https://zipkin.io/ |
技术 | 名称 | 版本 | 官网 |
---|---|---|---|
React | 前端MVC框架 | 16.5.1 | https://reactjs.org/ |
Ant Design Pro | 开箱即用的中台前端/设计解决方案 | 2.1.0 | https://pro.ant.design/index-cn |
。。。
服务注册页面
swagger
首页
商品页
购物车页
使用脚本启动:
mvn clean package -P env-prd
生成target文件夹包含项目所有jar包和执行脚本chmod +x -R target/
cd target/
startup-all.sh
停止: shutdown-all.sh
最低部署要求 1C2G x3
https://github.com/cjbi/weshop
Weshop 使用 MIT 许可证发布,用户可以自由使用、复制、修改、合并、出版发行、散布、再授权及贩售 Weshop 及其副本。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。