GithubHelp home page GithubHelp logo

frankswu / pig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pig-mesh/pig

0.0 1.0 0.0 7.65 MB

🚀 The best rbac web framework. base on Spring Boot 2.3、 Spring Cloud Hoxton、 OAuth2 . Thx Give a star

Home Page: http://doc.pig4cloud.com

License: Apache License 2.0

Dockerfile 0.18% PLpgSQL 1.45% Java 37.54% CSS 2.25% HTML 5.23% JavaScript 47.76% FreeMarker 2.83% SCSS 2.59% TypeScript 0.16% Shell 0.01% Batchfile 0.01%

pig's Introduction

Build Status Coverage Status Downloads

系统说明

  • 基于 Spring Cloud Hoxton 、Spring Boot 2.3、 OAuth2 的 RBAC 权限管理系统
  • 基于数据驱动视图的理念封装 element-ui,即使没有 vue 的使用经验也能快速上手
  • 提供对常见容器化支持 Docker、Kubernetes、Rancher2 支持
  • 提供 lambda 、stream api 、webflux 的生产实践

核心依赖

依赖 版本
Spring Boot 2.3.6.RELEASE
Spring Cloud Hoxton.SR9
Spring Cloud Alibaba 2.2.3.RELEASE
Spring Security OAuth2 2.3.6
Mybatis Plus 3.4.1
hutool 5.5.1
Avue 2.6.16

模块说明

pig-ui  -- https://gitee.com/log4j/pig-ui

pig
├── pig-auth -- 授权服务提供[3000]
└── pig-common -- 系统公共模块
     ├── pig-common-core -- 公共工具类核心包
     ├── pig-common-datasource -- 动态数据源包
     ├── pig-common-job -- xxl-job 封装
     ├── pig-common-log -- 日志服务
     ├── pig-common-mybatis -- mybatis 扩展封装
     ├── pig-common-security -- 安全工具类
     ├── pig-common-swagger -- 接口文档
     ├── pig-common-sentinel -- sentinel 扩展封装
     └── pig-common-test -- oauth2.0 单元测试扩展封装
├── pig-register -- Nacos Server[8848]
├── pig-gateway -- Spring Cloud Gateway网关[9999]
└── pig-upms -- 通用用户权限管理模块
     └── pig-upms-api -- 通用用户权限管理系统公共api模块
     └── pig-upms-biz -- 通用用户权限管理系统业务处理模块[4000]
└── pig-visual
     └── pig-monitor -- 服务监控 [5001]
     ├── pig-codegen -- 图形化代码生成 [5002]
     ├── pig-sentinel-dashboard -- 流量高可用 [5003]
     └── pig-xxl-job-admin -- 分布式定时任务管理台 [5004]

文档视频

文档视频 doc.pig4cloud.com

PIGX 在线体验 pigx.pig4cloud.com

产品白皮书 paper.pig4cloud.com

快速开始

本地开发 运行

pig 提供了详细的部署文档 doc.pig4cloud.com,包括开发环境安装、服务端代码运行、前端代码运行等。

请务必完全按照文档部署运行章节 进行操作,减少踩坑弯路!!

Docker 运行

# 下载并运行服务端代码
git clone https://gitee.com/log4j/pig.git

cd pig && mvn clean install && docker-compose up -d

# 下载并运行前端UI
git clone https://gitee.com/log4j/pig-ui.git

cd pig-ui && npm install -g cnpm --registry=https://registry.npm.taobao.org

npm run build:docker && docker-compose up -d

快速构架微服务

<!-- pig-gen archetype -->
# 在空文件夹执行以下命令,注意 windows 下  \ 修改成 ^
mvn archetype:generate \
       -DgroupId=com.pig4cloud \
       -DartifactId=demo \
       -Dversion=1.0.0-SNAPSHOT \
       -Dpackage=com.pig4cloud.pig.demo \
       -DarchetypeGroupId=com.pig4cloud.archetype \
       -DarchetypeArtifactId=pig-gen \
       -DarchetypeVersion=2.10.3 \
       -DarchetypeCatalog=local

免费公开课

微信群 [禁广告]

开源共建

开源协议

pig 开源软件遵循 Apache 2.0 协议。 允许商业使用,但务必保留类作者、Copyright 信息。

其他说明

  1. 欢迎提交 PR,注意对应提交对应 dev 分支

  2. 欢迎提交 issue,请写清楚遇到问题的原因、开发环境、复显步骤。

  3. 联系作者 [email protected]

pig's People

Contributors

lltx avatar lishangbu avatar torvalds avatar 9o9e avatar john-chan avatar smallweis avatar 91tv avatar cqyisbug avatar supersxf avatar aillamsun avatar felixsuxp1 avatar shepf avatar saintloong avatar owen118z avatar bosscloud avatar mengfansheng110 avatar kaixinhupo avatar jimoguilai avatar 904235992 avatar yyaini112 avatar xkcoding avatar 693084682 avatar chunmenglu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.