{"id":13590584,"url":"https://github.com/quarkcloudio/quark-go","last_synced_at":"2026-01-11T22:52:20.228Z","repository":{"id":65804493,"uuid":"590312725","full_name":"quarkcloudio/quark-go","owner":"quarkcloudio","description":"Echo \u0026 Gin \u0026 GoFiber \u0026 GoZero \u0026 Hertz \u0026 Kratos  + Ant Design Pro 前后端分离的管理后台，Build Anything With Quark","archived":false,"fork":false,"pushed_at":"2024-11-18T10:54:47.000Z","size":19736,"stargazers_count":227,"open_issues_count":3,"forks_count":35,"subscribers_count":4,"default_branch":"v3","last_synced_at":"2024-11-20T10:14:02.259Z","etag":null,"topics":["admin","go-admin","go-antd"],"latest_commit_sha":null,"homepage":"https://quarkcloud.io/quark-go/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quarkcloudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-18T05:38:30.000Z","updated_at":"2024-11-18T15:10:40.000Z","dependencies_parsed_at":"2023-05-20T17:31:33.603Z","dependency_job_id":"467c6f30-6777-4f18-a728-30b7579e6d4d","html_url":"https://github.com/quarkcloudio/quark-go","commit_stats":null,"previous_names":["quarkcloudio/quark-go","quarkcms/quark-go"],"tags_count":238,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkcloudio%2Fquark-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkcloudio%2Fquark-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkcloudio%2Fquark-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkcloudio%2Fquark-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quarkcloudio","download_url":"https://codeload.github.com/quarkcloudio/quark-go/tar.gz/refs/heads/v3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247851645,"owners_count":21006793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","go-admin","go-antd"],"created_at":"2024-08-01T16:00:48.429Z","updated_at":"2026-01-11T22:52:20.223Z","avatar_url":"https://github.com/quarkcloudio.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## 介绍\nQuarkGO 是一个基于golang的低代码工具；它提供的丰富组件，能帮助您使用很少的代码就能搭建出功能完善的应用系统。\n\n## 系统特性\n\n- 用户管理\n- 权限系统\n- 菜单管理\n- 系统配置\n- 操作日志\n- 附件管理\n- 组件丰富\n\n## 快速开始\n\n1. 创建 demo 文件夹，进入该目录中执行如下命令，初始化项目：\n``` bash\ngo mod init demo/hello\n```\n2. 创建 main.go 文件\n3. 在 main.go 文件中添加如下代码：\n```go\npackage main\n\nimport (\n\t\"github.com/quarkcloudio/quark-go/v3\"\n\tadminservice \"github.com/quarkcloudio/quark-go/v3/app/admin\"\n\tadminmodule \"github.com/quarkcloudio/quark-go/v3/template/admin\"\n\t\"github.com/glebarez/sqlite\"\n\t\"gorm.io/gorm\"\n)\n\nfunc main() {\n\n\t// 配置资源\n\tconfig := \u0026quark.Config{\n\t\t// JWT加密密串\n\t\tAppKey:    \"123456\",\n\t\t// 加载服务\n\t\tProviders: adminservice.Providers,\n\t\t// 数据库配置\n\t\tDBConfig: \u0026quark.DBConfig{\n\t\t\tDialector: sqlite.Open(\"./data.db\"),\n\t\t\tOpts:      \u0026gorm.Config{},\n\t\t},\n\t}\n\n\t// 实例化对象\n\tb := quark.New(config)\n\n\t// WEB根目录\n\tb.Static(\"/\", \"./web/app\")\n\n\t// 初始化安装\n\tadminmodule.Install()\n\n\t// 中间件\n\tb.Use(adminmodule.Middleware)\n\n\t// 响应Get请求\n\tb.GET(\"/\", func(ctx *quark.Context) error {\n\t\treturn ctx.String(200, \"Hello World!\")\n\t})\n\n\t// 启动服务\n\tb.Run(\":3000\")\n}\n```\n4. 拉取依赖\n``` bash\ngo mod tidy\n```\n5. 启动服务\n``` bash\ngo run main.go\n```\n\n后台地址： ```http://127.0.0.1:3000/admin/```\n\n账号：```administrator```\n密码：```123456```\n\n## 特别注意\n1. **后台用户认证使用了AppKey作为JWT的加密密串，生产环境请务必更改**\n\n## 相关项目\n- [QuarkSmart](https://github.com/quarkcloudio/quark-smart) 单体应用\n- [QuarkMicro](https://github.com/quarkcloudio/quark-micro) 微服务应用\n\n## 演示站点\n香港站点，页面加载可能比较缓慢\n\n- 地址：http://smart.quarkcloud.io/admin/#/\n- 账号：```administrator```\n- 密码：```123456```\n\n## 技术支持\n为了避免打扰作者日常工作，你可以在Github上提交 [Issues](https://github.com/quarkcloudio/quark-go/issues)\n\n相关教程，你可以查看 [在线文档](http://quarkcloud.io/quark-go/)\n\n## License\nQuarkGo is licensed under The MIT License (MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarkcloudio%2Fquark-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquarkcloudio%2Fquark-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarkcloudio%2Fquark-go/lists"}