75 Star 262 Fork 104

unifig / unifig

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

unifig

介绍

unifig,是以基于 SpringCloud 的一个分布式 微服务 平台。 具有 服务发现注册、配置中心、负载均衡、断路器、数据监控 。
当前开发完成b2c商场的主要业务,以及团购逻辑。是二次开发的最佳之选。

软件架构

待补

工程结构

unifig
├── unifig-config -- Spring Cloud 配置server
├── unifig-rc -- Spring Cloud 注册中心
├── unifig-zipkin -- Spring Cloud 链路监控
├── unifig-zuul -- Spring Cloud 网关
├── unifig-modules -- 业务模块
├    ├── unifig-basics -- 公共组件 图片服务
├    ├── unifig-bi -- 统计模块 
├    ├── unifig-common -- 公共包
├    ├── unifig-im -- im netty demo 
├    ├── unifig-mall -- 商城模块 
├    ├── unifig-organ -- 用户模块 
└──  └── unifig-logistics -- 物流

配置文件

配置文件-代码地址

后台管理

后台管理-代码地址

后台商品 后台订单
后台广告 后台权限

小程序

小程序-首页商品 小程序-首页团购
小程序-我的 小程序-购物车

安装教程

详细 - /doc/部署 
安装教程:

1.克隆代码到本地: 

​	后端服务:git clone https://gitee.com/unifig/unifig.git

​	配置文件服务:git clone https://gitee.com/unifig/unifig-config-files.git

2.修改/unifig-config-files/dev  中对应配置文件

3.上传 unifig-config-files 至 [码云](https://gitee.com/) 或 [github ](https://github.com/)

4.idea 导入 unifig项目

5.修改unifig-config 模块配置文件

![修改配置服务 git地址.png](https://upload.cc/i1/2019/11/13/I215zJ.png)


spring.cloud.config.server.git.uri 项目git地址
spring.cloud.config.server.git.username=账号
spring.cloud.config.server.git.password=密码
注意:此账号必须有unifig-config-files 项目权限

6.修改unifig-organ模块小程序配置信息(同理修改unifig-mall)

每个子项目都可以单独运行,都是打包成jar包后,通过使用内置jetty容器执行,有2种方式运行。

1. 在IDEA里面直接运行Application.java的main函数。
2. 另一种方式是执行`mvn clean package`命令后传到linux服务器上面,通过命令`java -Xms64m -Xmx1024m -jar xxx.jar`方式运行

服务启动顺序

1.unifig-rc

2.unifig-config

3.unifig-organ

4.unifig-mall

5.unifig-zuul

使用说明


1,后台管理的前端项目会陆续开源 ( 已开源 )
1,配置文件项目会陆续开源 ( 已开源 )
2,微信小程序项目会陆续开源
3,文档会陆续完善
4,后续开发计划(优惠卷小程序支持,社区,活动小程序支持)
5,做ai工具,微信小程序 类似 - 腾讯AI体验中心 

组织成员

研发 研发
晓亮 佳良
MIT License Copyright (c) 2019 maxl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

unifig,是以基于 SpringCloud 的一个分布式 微服务 平台。 具有 服务发现注册、配置中心、负载均衡、断路器、数据监控 。 当前开发完成b2c商场的主要业务,以及团购逻辑。是二次开发的最佳之选。 展开 收起
Java 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/unifig/unifig.git
git@gitee.com:unifig/unifig.git
unifig
unifig
unifig
master

搜索帮助

14c37bed 8189591 565d56ea 8189591