MCPcopy Index your code
hub / github.com/Xi-Yuer/GO-CMS

github.com/Xi-Yuer/GO-CMS @v1.1.10

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.10 ↗ · + Follow
1,045 symbols 2,498 edges 235 files 113 documented · 11% updated 15mo agov1.1.10 · 2024-06-22★ 73

Browse by type

Functions 789 Types & classes 256
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RBAC-Based Permission Management System

简体中文 | English

GoDoc License GitHub closed issues GitHub last commit GitHub issues GitHub forks GitHub stars

Project Introduction

The RBAC-based permission management system is developed using the Go + Gin framework, with MySQL as the database and React + Antd for the frontend. It supports features such as internationalization, theme color switching, permission control, menu management, user management, role management, data dictionary management, log management, system monitoring, code generator, and API documentation.

Backend Setup

  1. Clone the project to your local machine text https://github.com/Xi-Yuer/GO-CMS.git

  2. Install the dependencies text cd server go mod tidy

  3. Modify the project settings to set environment variables server/config/config.go text { NAME: "root", // Database username PASSWORD: "xxxxxx", // Password HOST: "localhost", // Host address DB: "cms", // Database name PORT: "3306", // Port }

  4. Create MySQL runtime environment

    1. Create a database named cms, execute the SQL file (location: server/sql/cms_widthData.sql)
  5. Run the project bash go run server/main.go

Frontend Setup

  1. Clone the project to your local machine text https://github.com/Xi-Yuer/GO-CMS.git

  2. Install the dependencies text cd client pnpm install

  3. Run the project bash pnpm run dev

Project Screenshots

登录

首页

系统管理

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 465
Function 324
Struct 179
Interface 63
TypeAlias 9
Class 4
Enum 1

Languages

Go74%
TypeScript26%

Modules by API surface

micro/rpc/user/userRPC/user.pb.go99 symbols
micro/rpc/user/userRPC/user_grpc.pb.go45 symbols
micro/rpc/captcha/captchaRPC/captcha.pb.go34 symbols
micro/rpc/captcha/captcha/captcha.pb.go34 symbols
micro/rpc/captcha/captchaRPC/captcha_grpc.pb.go20 symbols
micro/rpc/captcha/captcha/captcha_grpc.pb.go20 symbols
micro/rpc/user/userservice/userservice.go17 symbols
web/src/utils/builder/index.tsx16 symbols
web/src/service/request/lib/index.ts14 symbols
web/src/pages/System/Role/hooks.tsx14 symbols
web/src/service/api/users/index.ts13 symbols
web/src/pages/System/User/hooks.tsx13 symbols

For agents

$ claude mcp add GO-CMS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page