This action will force synchronization from liner123/newgulimall, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
新 谷粒商城项目是一个较大型的分布式电商项目,主要后端采用 Spirngboot 2.3.1.RELEASE,前端使用Vue.js。
前后端简单crud代码均由人人开源的自动生成器生成,学习只用关心较难的业务逻辑。是一个较为不错的进阶Springboot的电商项目。
JavaSe
Springboot
Mysql
Vue
Swagger
阿里云oss
Springcloud : nacos , openfeign , gateway 等
gulimall-common 共需的共有包,其中包括共同的依赖,to, 常量,统一异常处理, 一些工具类等
gulimall-coupon 优惠券服务,管理优惠卷和满减信息
gulimall-gateway 网关服务 , 进行服务转发和负载均衡 端口为88
gulimall-member 用户管理服务
gulimall-order 订单服务
gulimall-product 商品服务
gulimall-thrid-party 第三方服务(oss)
gulimall-ware 仓库服务
renren-fast 人人开源的默认后台系统
renren-generator 代码生成器
确保安装环境,安装node-js v10.2.4 以上,安装地址 http://nodejs.cn/
安装git 版本控制 https://gitforwindows.org/
安装mysql5.7 https://www.mysql.com/
git终端 下载项目
git clone https://gitee.com/liner123/newgulimall.git
使用 IDEA 或者 Eclipse 进行打开 Eclipse安装地址 https://www.eclipse.org/ IDEA安装地址 https://www.jetbrains.com/idea/
建数据库,如图。
gulimall-admin ------ renren-fast
gulimall-oms ----- gulimall-order
gulimall-pms ----- gulimall-product
gulimall-sms ----- gulimall-coupon
gulimall-ums ----- gulimall-member
gulimall-wms ----- gulimall-ware
导入sql文件(sql文件放在每一个微服务的resource文件下的sql文件架中)
修改各微服务的 application.yml 文件对应自己的数据库地址和数据库名称,用户,密码
安装nacos,并在application.yml 中配置nacos的注册地址,启动nacos
若要使用 gulimall-thrid-party 第三方服务里面的oss 需要自己去阿里云获取自己的 endpoint accessId secret-key bucket 等,
然后修改application.yml 将其修改为自己的。
启动上述各个微服务。
git clone https://gitee.com/liner123/new-gulimall-vue.git // 下载前端项目
进入安装目录,在终端使用命令
npm run dev
项目启动成功,访问 localhost:8001
随便用
尽量按照我的安装教程弄,因为需要建较多数据库,尽量不要出现错误。
gulimall-heigher 分支有高级篇内容(完成了大概3/4),gulimall-heigher.md 中有笔记和遇到的坑,希望对你们有帮助。
如果有帮助,请点个star吧,谢谢啦。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。