MCPcopy Index your code
hub / github.com/canyuegongzi/simple-user-center

github.com/canyuegongzi/simple-user-center @2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0 ↗ · + Follow
404 symbols 640 edges 103 files 80 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

用戶组织权限管理系统

系统描述

前端地址: https://github.com/canyuegongzi/simple-user-center-web

系统前端基于Vue +ElementUi + typeScript构建

后端地址: https://github.com/canyuegongzi/simple-user-center

系统后端基于node + nest.js +mysql构建

系统结构

'系统架构图'

系统截图

'用户管理'

'权限管理'

'授权'

'组织'

'资源'

目录说明

common                    // 公共(权限, 错误拦截)
config                    // 系统配置
controller                // 控制器
model                     // 控制器
    DTO                   // DTO数据约束
    entity                // entity定义
module                    // 系统模块
service                   // 服务(数据CRDU)
utils                     // 工具函数

系统运行

前端

git clone https://github.com/canyuegongzi/simple-user-center-web.git
npm install
npm run serve

后端

于congig/config.ts配置mysql redis 等全局配置

git clone https://github.com/canyuegongzi/simple-user-center.git
npm install
npm run start:dev

系统预览

在线地址

不要进行随意修改系统中的数据

不要进行随意修改系统中的数据

不要进行随意修改系统中的数据

不要进行随意修改系统中的数据

Extension points exported contracts — how you extend this code

ReturnData (Interface)
(no doc)
src/common/result/ResultData.ts
CommonConfigInterface (Interface)
(no doc)
src/config/CommonConfigInterface.ts
JwtPayload (Interface)
(no doc)
src/common/auth/interfaces/JwtPayloadInterface.ts
JwtPayloadToken (Interface)
(no doc)
src/common/auth/interfaces/JwtPayloadJwtPayloadInterfface.ts
NatsSubscriber (Interface)
(no doc)
src/common/shared/strategies/NatsStrategy.ts
Response (Interface)
(no doc)
src/common/shared/interceptors/TransformInterceptor.ts

Core symbols most depended-on inside this repo

get
called by 26
src/service/RedisCacheService.ts
formatDate
called by 24
src/utils/dataTime.ts
set
called by 24
src/service/RedisCacheService.ts
send
called by 6
src/service/TaskKafkaProductService.ts
listToTree
called by 5
src/utils/treeData.ts
findOneByName
called by 5
src/service/UserService.ts
register
called by 5
src/common/kafka/KafkaModule.ts
get
called by 5
src/config/CommonConfigService.ts

Shape

Method 202
Class 169
Function 25
Interface 6
Enum 2

Languages

TypeScript100%

Modules by API surface

src/service/UserService.ts23 symbols
src/controller/UserController.ts20 symbols
src/service/ApiResourceService.ts17 symbols
src/controller/ApiResourceController.ts16 symbols
src/service/RoleService.ts15 symbols
src/service/OrganizationService.ts13 symbols
src/controller/RoleController.ts13 symbols
src/service/AuthorityService.ts12 symbols
src/controller/OrganizationController.ts12 symbols
src/controller/AuthorityController.ts11 symbols
src/service/SystemService.ts10 symbols
src/common/kafka/KafkaService.ts10 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add simple-user-center \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page