MCPcopy Index your code
hub / github.com/arklnk/ark-admin-zero

github.com/arklnk/ark-admin-zero @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
504 symbols 1,705 edges 112 files 16 documented · 3% updated 3y agov1.0.0 · 2022-08-29★ 1715 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

官方文档

文档:https://docs.arklnk.com

前端:https://github.com/arklnk/ark-admin-vuenext

后端:https://github.com/arklnk/ark-admin-zero

在线体验

在线体验地址: http://106.52.40.152:8080

账号 密码 备注
demo 123456 演示账号
  • 如需体验更完整的项目功能可自行下载项目并运行体验或使用 docker-compose

docker-compose

git clone https://github.com/arklnk/ark-admin-zero.git
cd ark-admin-zero
docker-compose up -d

登录地址:http://127.0.0.1

账号 密码 备注
arklnk 123456 超级管理员
demo 123456 演示账号

login

开发模式

环境要求

clone项目

git clone https://github.com/arklnk/ark-admin-zero.git
cd ark-admin-zero

下载依赖

go mod tidy

热启动

go get github.com/cortesi/modd/cmd/modd

编辑热启动配置(项目根目录下的modd.conf)

window环境下

#core
app/core/**/*.* {
    prep: go build -o data/service/core-api.exe -v app/core/cmd/api/core.go
    daemon: data/service/core-api.exe -f app/core/cmd/api/etc/core-api.yaml
}

mac、linux环境下

#core
app/core/**/*.* {
    prep: go build -o data/service/core-api -v app/core/cmd/api/core.go
    daemon: data/service/core-api -f app/core/cmd/api/etc/core-api.yaml
}

注:modd开源地址https://github.com/cortesi/modd

运行(开发环境需要用到 redis 和 mysql,所以请先执行 docker-compose up -d 来启动容器)

modd

如输出以下信息则启动成功

15:17:03: prep: go build -o data/service/core-api.exe -v app/core/cmd/api/core.go
>> done (2.2430897s)
15:17:06: daemon: data/service/core-api.exe -f app/core/cmd/api/etc/core-api.yaml
>> starting...
Starting server at 0.0.0.0:7001...

欢迎 Star && PR

如果项目有帮助到你可以点个 Star 支持下。有更好的实现欢迎 PR。

浏览器支持

Modern browsers and Internet Explorer 10+.

IE / Edge IE / Edge Firefox Firefox Chrome Chrome Safari Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

赞赏或交流

交流

致谢

https://go-zero.dev/cn

https://github.com/Mikaelemmmm/go-zero-looklook

https://github.com/jinzhu/copier

https://github.com/go-playground/validator

https://github.com/fangpenlin/avataaars-generator

https://www.jetbrains.com/go

Extension points exported contracts — how you extend this code

SysLogModel (Interface)
SysLogModel is an interface to be customized, add more methods here, and implement the added methods in customSysLogMode [3 …
app/core/model/syslogmodel.go
SysJobModel (Interface)
SysJobModel is an interface to be customized, add more methods here, and implement the added methods in customSysJobMode [2 …
app/core/model/sysjobmodel.go
SysProfessionModel (Interface)
SysProfessionModel is an interface to be customized, add more methods here, and implement the added methods in customSys [2 …
app/core/model/sysprofessionmodel.go
SysRoleModel (Interface)
SysRoleModel is an interface to be customized, add more methods here, and implement the added methods in customSysRoleMo [1 …
app/core/model/sysrolemodel.go
SysPermMenuModel (Interface)
SysPermMenuModel is an interface to be customized, add more methods here, and implement the added methods in customSysPe [1 …
app/core/model/syspermmenumodel.go

Core symbols most depended-on inside this repo

Error
called by 168
common/errorx/baseerror.go
NewDefaultError
called by 153
common/errorx/baseerror.go
NewHandlerError
called by 62
common/errorx/baseerror.go
Response
called by 41
common/response/response.go
GetUserId
called by 10
common/utils/function.go
ArrayContainValue
called by 8
common/utils/function.go
FindAll
called by 7
app/core/model/sysjobmodel.go
MD5
called by 5
common/utils/function.go

Shape

Method 217
Struct 142
Function 129
Interface 16

Languages

Go100%

Modules by API surface

app/core/cmd/api/internal/types/types.go68 symbols
app/core/model/sysusermodel_gen.go17 symbols
app/core/model/sysrolemodel_gen.go17 symbols
app/core/model/sysprofessionmodel_gen.go17 symbols
app/core/model/sysjobmodel_gen.go17 symbols
app/core/model/sysdictionarymodel_gen.go17 symbols
app/core/model/sysdeptmodel_gen.go17 symbols
app/core/model/sysusermodel.go16 symbols
app/core/model/syspermmenumodel_gen.go15 symbols
app/core/model/syslogmodel_gen.go15 symbols
common/utils/avatar.go14 symbols
app/core/model/sysrolemodel.go11 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add ark-admin-zero \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page