# amazon-project **Repository Path**: freestylewill/amazon-project ## Basic Information - **Project Name**: amazon-project - **Description**: 仿京东商城项目(项目名字还没想好只是一个代号...)利用SSM+dubbox构建的分布式B2B2C电商项目,前端页面用AngularJs实现,集成了阿里的图片服务器FastDFS,SpringDataRedis,SpringSecurity动态权限管理,SpringBoot微服务,ActiveMq消息中间件,Solr搜索服务,CAS单点登录,zookeeper+tomcat的搜索服务的负载均衡,nginx配置的反向代理和负载均衡,集群(Redis,solr,zookeeper)解决方案,docker容器部署项目,并且实现了一些分布式问题的解决方案 - **Primary Language**: Java - **License**: LPPL-1.3c - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 11 - **Created**: 2025-03-09 - **Last Updated**: 2025-03-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # amazon-project #### 项目介绍 (项目名字纯属恶搞...)利用SSM+dubbox构建的分布式电商项目,前端页面用AngularJs实现,集成了阿里的图片服务器FastDFS,SpringDataRedis,SpringSecurity动态权限管理,SpringBoot微服务,ActiveMq消息中间件,Solr搜索服务,CAS单点登录,zookeeper+tomcat的搜索服务的负载均衡,nginx配置的反向代理和负载均衡,集群(Redis,solr,zookeeper)解决方案,docker容器部署项目,并且实现了一些分布式问题的解决方案 #### 软件架构 ``` lua amazon-parent ├── amazon-common -- SSM框架公共模块 ├── amazon-admin-- 运营商后台权限管理服务 | ├── amazon-admin-interface -- 后台管理员接口 | └── amazon-admin-service -- 后台管理员服务 ├── amazon-content -- 网站内容管理服务 | ├── amazon-content-interface -- 网站内容接口 | └── amazon-content-service -- 网站内容服务 ├── amazon-global-dao -- mysql数据库全局模块 ├── amazon-global-pojo -- 对象全局模块 ├── amazon-amazon-web -- 运营商后台前台模块 | ├── amazon-admin -- 引入管理员服务,进行权限分配 | ├── amazon-content -- 引入网站内容服务,进行网站信息管理 | └── amazon-sellergoods-- 引入商品服务,管理商品信息 ├── amazon-page-web -- 商品静态页面生成模块 ├── amazon-page-- 页面生成服务 | ├── amazon-page-interface -- 页面生成接口 | └── amazon-page-service-- 页面生成服务 ├── amazon-portal-web -- 网站首页展示模块 | └── amazon-content-service-- 引入网站内容服务 ├── amazon-search-web -- 网站全局搜索模块 | └── amazon-search-service-- 引入全局搜索服务 ├── amazon-search -- 网站搜索服务 | ├── amazon-search-interface -- 搜索服务接口 | └── amazon-search-service-- 搜索服务 ├── amazon-sellergoods-- 商品服务 | ├── amazon-sellergoods-interface -- 商品服务接口 | └── amazon-sellergoods-service-- 商品服务 ├── amazon-shop-web -- 商家后台前台模块 | └── amazon-sellergoods-- 引入商品服务,管理商品信息 ├── amazon-sms -- 短信微服务 ├── amazon-solr-tuil -- 索引库导入服务 ├── amazon-user-web -- 网站用户中心前台模块 | └── amazon-search-service-- 引入用户服务 ├── amazon-user-- 用户服务 | ├── amazon-user-interface -- 用户服务接口 | └── amazon-user-service-- 用户服务 ├── ......后续开发中 ``` #### 技术选型 #### 后端技术: 技术 | 名称 | 官网 ----|------|---- Spring Framework | 容器 | [http://projects.spring.io/spring-framework/](http://projects.spring.io/spring-framework/) Spring Boot| 微服务| [http://spring.io/projects/spring-boot](http://spring.io/projects/spring-boot) SpringMVC | MVC框架 | [http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#mvc](http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#mvc) Spring Security | 安全框架 | [http://spring.io/projects/spring-security](http://spring.io/projects/spring-security) MyBatis | ORM框架 | [http://www.mybatis.org/mybatis-3/zh/index.html](http://www.mybatis.org/mybatis-3/zh/index.html) MyBatis Generator | 代码生成 | [http://www.mybatis.org/generator/index.html](http://www.mybatis.org/generator/index.html) PageHelper | MyBatis物理分页插件 | [http://git.oschina.net/free/Mybatis_PageHelper](http://git.oschina.net/free/Mybatis_PageHelper) Druid | 数据库连接池 | [https://github.com/alibaba/druid](https://github.com/alibaba/druid) Freemarker| 模板引擎 | [https://freemarker.apache.org/](https://freemarker.apache.org/) ZooKeeper | 分布式协调服务 | [http://zookeeper.apache.org/](http://zookeeper.apache.org/) Dubbox | 分布式服务框架 | [http://dubbo.apache.org/en-us/](http://dubbo.apache.org/en-us/) Redis | 分布式缓存数据库 | [https://redis.io/](https://redis.io/) Solr | 分布式全文搜索引擎 | [http://lucene.apache.org/solr/](http://lucene.apache.org/solr/) Spring Task| 作业调度框架 | [http://spring.io/guides/gs/scheduling-tasks/](http://spring.io/guides/gs/scheduling-tasks/) ActiveMQ | 消息队列 | [http://activemq.apache.org/](http://activemq.apache.org/) FastDFS | 分布式文件系统 | [https://github.com/happyfish100/fastdfs](https://github.com/happyfish100/fastdfs) FastJSON | 高效的JSON解析框架 | [https://github.com/alibaba/fastjson](https://github.com/alibaba/fastjson) Log4J | 日志组件 | [http://logging.apache.org/log4j/1.2/](http://logging.apache.org/log4j/1.2/) CAS | 分布式单点登录服务 | [https://www.apereo.org/projects/cas](https://www.apereo.org/projects/cas) Git | 分布式版本控制系统 | [https://git-scm.com/](https://git-scm.com/) Maven | 项目构建管理 | [http://maven.apache.org/](http://maven.apache.org/) #### 前端技术: 技术 | 名称 | 官网 ----|------|---- jQuery | 函式库 | [http://jquery.com/](http://jquery.com/) Bootstrap | 前端框架 | [http://getbootstrap.com/](http://getbootstrap.com/) Bootstrap-table | Bootstrap数据表格 | [http://bootstrap-table.wenzhixin.net.cn/](http://bootstrap-table.wenzhixin.net.cn/) Select2 | 选择框插件 | [https://github.com/select2/select2](https://github.com/select2/select2) jQuery EasyUI | 基于jQuery的UI插件集合体 | [http://www.jeasyui.com](http://www.jeasyui.com) AngularJs | 界面构建框架 | [https://docs.angularjs.org/](https://docs.angularjs.org/) pagination.js | 前端分页插件 | [http://pagination.js.org/](http://pagination.js.org/) UEditor | 富文本编辑器 | [https://ueditor.baidu.com/website/](https://ueditor.baidu.com/website/) ECharts | 图表插件 | [http://echarts.baidu.com/](http://echarts.baidu.com/) Layer | 弹出层插件 | [https://layer.com/](https://layer.com/) #### 架构图 ![amazon-project 当前架构图](https://images.gitee.com/uploads/images/2018/1005/095910_326634a5_2104314.png "屏幕截图.png")