• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

gulimall: gulimall(谷粒商城) 是一个综合性的B2C平台,包括前台商城系统以及后台管 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

gulimall

开源软件地址:

https://gitee.com/agoni_no/gulimall

开源软件介绍:

谷粒商城简介

前言

gulimall` 项目致力于打造一个完整的电商系统,采用现阶段流行技术来实现,采用前后端分离继续编写。

项目API接口文档

项目介绍

gulimall(谷粒商城) 项目是一套电商项目,包括前台商城系统以及后台管理系统,基于 SpringCloud + SpringCloudAlibaba + MyBatis-Plus实现,采用 Docker 容器化部署。前台商城系统包括:用户登录、注册、商品搜索、商品详情、购物车、下订单流程、秒杀活动等模块。后台管理系统包括:系统管理、商品系统、优惠营销、库存系统、订单系统、用户系统、内容管理等七大模块。

项目演示

前台部分功能演示效果

UUvLAU.png

UUv7n0.png

后端登录界面

UUvXh4.png

主页面

UUv51s.png

后台部分功能

UUvoXq.th.pngUUvONF.th.pngUUvHBV.th.pngUUvIcn.th.png

组织结构

gulimall├── gulimall-common -- 工具类及通用代码├── renren-generator -- 人人开源项目的代码生成器├── gulimall-auth-server -- 认证中心(社交登录、OAuth2.0、单点登录)├── gulimall-cart -- 购物车服务├── gulimall-coupon -- 优惠卷服务├── gulimall-gateway -- 统一配置网关├── gulimall-order -- 订单服务├── gulimall-product -- 商品服务├── gulimall-search -- 检索服务├── gulimall-seckill -- 秒杀服务├── gulimall-third-party -- 第三方服务├── gulimall-ware -- 仓储服务└── gulimall-member -- 会员服务

技术选型

后端技术

技术说明官网
SpringBoot容器+MVC框架https://spring.io/projects/spring-boot
SpringCloud微服务架构https://spring.io/projects/spring-cloud
SpringCloudAlibaba一系列组件https://spring.io/projects/spring-cloud-alibaba
MyBatis-PlusORM框架https://mp.baomidou.com
renren-generator人人开源项目的代码生成器https://gitee.com/renrenio/renren-generator
Elasticsearch搜索引擎https://github.com/elastic/elasticsearch
RabbitMQ消息队列https://www.rabbitmq.com
Springsession分布式缓存https://projects.spring.io/spring-session
Redisson分布式锁https://github.com/redisson/redisson
Docker应用容器引擎https://www.docker.com
OSS对象云存储https://github.com/aliyun/aliyun-oss-java-sdk

前端技术

技术说明官网
Vue前端框架https://vuejs.org
Element前端UI框架https://element.eleme.io
thymeleaf模板引擎https://www.thymeleaf.org
node.js服务端的jshttps://nodejs.org/en

架构图

系统架构图

UUvRAS.png

业务架构图

UUvb7T.png

环境搭建

开发工具

工具说明官网
IDEA开发Java程序https://www.jetbrains.com/idea/download
RedisDesktopredis客户端连接工具https://redisdesktop.com/download
SwitchHosts本地host管理https://oldj.github.io/SwitchHosts
X-shellLinux远程连接工具http://www.netsarang.com/download/software.html
Navicat数据库连接工具http://www.formysql.com/xiazai.html
PowerDesigner数据库设计工具http://powerdesigner.de
PostmanAPI接口调试工具https://www.postman.com
Jmeter性能压测工具https://jmeter.apache.org
TyporaMarkdown编辑器https://typora.io

开发环境

工具版本号下载
JDK1.8https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
Mysql5.7https://www.mysql.com
RedisRedishttps://redis.io/download
Elasticsearch7.6.2https://www.elastic.co/downloads
Kibana7.6.2https://www.elastic.co/cn/kibana
RabbitMQ3.8.5http://www.rabbitmq.com/download.html
Nginx1.1.6http://nginx.org/en/download.html

注意:以上的除了jdk都是采用docker方式进行安装,详细安装步骤可参考百度!!!

搭建步骤

Windows环境部署

  • 修改本机的host文件,映射域名端口
192.168.77.130	gulimall.com192.168.77.130	search.gulimall.com192.168.77.130  item.gulimall.com192.168.77.130  auth.gulimall.com192.168.77.130  cart.gulimall.com192.168.77.130  order.gulimall.com192.168.77.130  member.gulimall.com192.168.77.130  seckill.gulimall.com以上端口换成自己Linux的ip地址
  • 修改Linux中Nginx的配置文件
1、在nginx.conf中添加负载均衡的配置    upstream gulimall {        server 192.168.43.182:88;    }2、在gulimall.conf中添加如下配置server {    listen       80;    server_name  gulimall.com  *.gulimall.com hjl.mynatapp.cc;    #charset koi8-r;    #access_log  /var/log/nginx/log/host.access.log  main;    #配置静态资源的动态分离    location /static/ {        root   /usr/share/nginx/html;    }    #支付异步回调的一个配置    location /payed/ {        proxy_set_header Host order.gulimall.com;        #不让请求头丢失        proxy_pass http://gulimall;    }    location / {        #root   /usr/share/nginx/html;        #index  index.html index.htm;        proxy_set_header Host $host;        #不让请求头丢失        proxy_pass http://gulimall;    }
  • 克隆前端项目 renren-fast-vuenpm run dev 方式去运行
  • 克隆整个后端项目 gulimall ,并导入 IDEA 中完成编译

如果你喜欢,要是觉得对你有帮助的话,请点个赞是对我最大的支持!


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Echo: 发布时间:2022-03-25
下一篇:
jfinal-wxmall: 一直以来找不到合适的开源微信商城,本人最终自主研发,基于jfinal we ...发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap