View Code? Open in Web Editor
NEW
This project forked from exrick/xmall
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Home Page: http://xmall.exrick.cn
License: GNU General Public License v3.0
Java 95.49%
HTML 4.37%
Makefile 0.01%
CoffeeScript 0.04%
PHP 0.09%
xmall's Introduction
![GitHub forks](https://camo.githubusercontent.com/be0437301f51b81a4263d8debdd140ffca509a62c19ffcb9252546ac2748288c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f45787269636b2f786d616c6c2e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)
-
Spring Cloud版
-
APP
![](https://camo.githubusercontent.com/6976531aa2c069e4f48a0884263b003268e06dc231d963d44ebad9359dd42cd3/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313233313137303932302e706e67)
-
XMall开放平台(仿微信开放平台)
![](https://camo.githubusercontent.com/cd13072fc09e70b37a35339301e5714af3ba0c4f4a9d99121128c24ac5950c04/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313233313137323031342e706e67)
![登录界面](https://camo.githubusercontent.com/ce79decc21b5612cebe734c92cfc9e58ef76f676b98996c3f2e20685346062ae/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313131393133303831392e6a7067)
![后台首页](https://camo.githubusercontent.com/6f5a74eeba077c105d19f685ad0c54a3c441ae9fb92234710257def4af485282/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313032323137343033342e6a7067)
![商品管理](https://camo.githubusercontent.com/7eecd0735be253bde533198533ab2c74e6a928c16b120a53521a7706b9460261/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313032323232343332322e6a7067)
![管理员编辑](https://camo.githubusercontent.com/5d31cc587993be542c0dcf82093a7e4426e021916f1729757bda813e2f66540e/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313032323232353431382e6a7067)
![前台首页](https://camo.githubusercontent.com/8c69bf4c39bce27e6c000b963b80d1a4c42b04a0b3ae7c5ec2442b4d9145e52b/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313032323138333930362e6a7067)
![ES分词搜索](https://camo.githubusercontent.com/7d65453dc37cb284d9ba636bef4ade006807f11d7309eeeb42203662e1a55240/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f515125453625383825414125453525394225424532303137313130393231353635362e6a7067)
- 后台页面【新 待开发】
- 后台页面【旧】
- 前台页面
- 详情请跳转至 xmall-front 项目仓库
- 感谢 yucccc 的开源 vue-mall 项目提供前端页面及框架支持
- Vue2 + Vuex + Vue Router + Element UI + ES6 + webpack + axios + Node.js
各框架依赖版本皆使用目前最新版本 可进入xmall-parent中 pom.xml 查看
dependency
文件夹提供部分依赖与sql文件
- xmall.sql:数据库文件
- dubbo.xsd:需手动配置避免报错
- redis-3.0.0.gem:Redis集群搭建所需Ruby库
generatorSqlmapCustom
文件夹为 Mybatis Generator 逆向生成工具,且已配置好maven插件
- 下载zip直接解压或安装git后执行克隆命令
git clone https://github.com/Exrick/xmall.git
- 依赖安装:ZooKeeper、Redis、ActiveMQ、Elasticsearch
- 修改各依赖相应IP配置(默认本地127.0.0.1),以及七牛云、极验配置在
xmall-common - utils
中找到修改,同步索引在xmall-manager-web\src\main\webapp\WEB-INF\jsp\refresh-index.jsp
两处ajax中修改Elsticsearch对应IP
- Maven安装和在IDEA中配置
- 使用IDEA(破解/免费注册)
File-Open
直接打开xmall项目,点击右下角 Import Changes
等待安装完依赖即可
- MySQL数据库新建
xmall
数据库,运行sql文件,注意在 xmall-manager-service/resources/conf/db.properties
中修改你的数据库连接配置
- 按照依赖顺序分别在每个模块文件夹根目录执行
mvn install
命令
- 项目需按照依赖顺序运行除
xmall-parent
xmall-common
以外其它所有服务,且都已配置好Tomcat插件, 执行命令 mvn tomcat7:run
或在IDEA中使用插件(View - Tool Buttons - 右侧菜单Maven Projects - tomcat7 - tomcat7:run
)运行即可,当然可自行配置
- 后端管理系统默认端口8888 http://localhost:8888 管理员账密admin|123456
- 前端项目接口默认端口7777 前台页面请启动基于Vue的 xmall-front 项目,并修改其接口配置
![](https://camo.githubusercontent.com/27691a7dc4ba34931563f6b228bcd85a6113207aab228590fc0dd2b692a5a925/687474703a2f2f6f77657570717a64762e626b742e636c6f7564646e2e636f6d2f46677748536b31526e642d38464b714e4a68465353646371325156422e706e67)
xmall's People
Contributors
Watchers