# GMall **Repository Path**: hellotqq/gmall ## Basic Information - **Project Name**: GMall - **Description**: 尚硅谷谷粒商城 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-05-15 - **Last Updated**: 2022-05-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GMall ###Author:creek #### 介绍 尚硅谷谷粒商城 #### 软件架构 软件架构说明 1. 微服务规范 1. 微服务包括:member会员、coupon优惠券、order订单、product商品、ware库存、renren-fast后台管理、renren-generator代码生成。 2. 微服务包名:com.hebin.gmall.XXX 3. 项目公共依赖和公共组件服务gmall-common服务。 4. 微服务通信需要使用http协议,每个业务微服务都必备web模块和openfeign模块 5. 模块名称:gmall-XXX. eg:gmall-provider 6. 微服务端口,admin:8080;coupon:7000,member:8000;order:9000;product:10000;ware:11000. 2. 项目的数据库规范 1. 每个微服务使用同一个主机192.168.56.10下3306端口的MySQL服务 2. 每个微服务使用不同的数据库,数据库前缀为gmall_,商品数据库为pms,订单为oms,用户为ums,优惠券为sms,库存为wms 3. renren-fast后台管理微服务数据库为gmall_admin。 3. 持久层技术栈 0. 连接池使用alibabaDruid。 1. 持久层框架使用mybatis-plus。 4. 微服务的配置 0. 微服务使用nacos配置中心进行配置。 1. 在开发阶段,目前coupon、gateway服务使用了配置中心配置,具体配置可看bootstrap.properties文件 2. 其他微服务目前仍然使用本地配置,配置格式为yaml,具体配置参照各个微服务的配置文件application.yml.