{"id":13901356,"url":"https://github.com/LianjiaTech/hetu","last_synced_at":"2025-07-17T21:33:08.524Z","repository":{"id":43929777,"uuid":"298197331","full_name":"LianjiaTech/hetu","owner":"LianjiaTech","description":"低代码平台, 可视化编辑器，单手打代码，解放你的双手","archived":false,"fork":false,"pushed_at":"2023-06-28T05:21:57.000Z","size":2351,"stargazers_count":787,"open_issues_count":9,"forks_count":180,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-04-13T18:05:33.546Z","etag":null,"topics":["codegenerator","full-stack","gui-editor","low-code","nodejs","react"],"latest_commit_sha":null,"homepage":"http://139.155.239.172","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LianjiaTech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-09-24T07:09:40.000Z","updated_at":"2024-04-07T01:26:47.000Z","dependencies_parsed_at":"2024-01-16T22:35:50.130Z","dependency_job_id":null,"html_url":"https://github.com/LianjiaTech/hetu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LianjiaTech%2Fhetu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LianjiaTech%2Fhetu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LianjiaTech%2Fhetu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LianjiaTech%2Fhetu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LianjiaTech","download_url":"https://codeload.github.com/LianjiaTech/hetu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226265529,"owners_count":17597223,"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":["codegenerator","full-stack","gui-editor","low-code","nodejs","react"],"created_at":"2024-08-06T21:01:15.503Z","updated_at":"2024-11-25T09:31:16.932Z","avatar_url":"https://github.com/LianjiaTech.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9202d4d9e234092881b110c5bfeee7c~tplv-k3u1fbpfcp-zoom-1.image\" width=\"60\" height=\"60\"/\u003e\n\u003ch1\u003e河图\u003c/h1\u003e\n\u003c/p\u003e\n\n河图, 是一个 `低代码` 平台, 通过可视化界面, 快速生成各种后台页面, 极大减少开发成本。\n\n河图是贝壳找房内部孵化项目, 目前已在公司大多数业务线落地, 完成200+项目, 1500+页面。\n\n![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/c879472eac3a4e65806f7b18e188d112~tplv-k3u1fbpfcp-zoom-1.image)\n\n## ✨ 特性\n- 🚴‍♀️ 操作简单、功能强大的可视化编辑器\n- 📦 开箱即用、高质量后台管理系统模版\n- ⚙️ 开发流程全部线上化，节省沟通、调试、运维成本\n- 🛡 使用 React、TypeScript、nodejs、express 开发\n\n## 🖥 兼容环境  \n- 现代浏览器、IE11以上\n\n## 🔗 链接  \n- [项目文档](http://139.155.239.172/)\n- [项目首页](http://139.155.239.172:9536/)\n- [服务器部署](/deploy.md)\n\n## 🍼 准备\n### 1. 一个邮箱账号  \n用于发送验证码, 需要 [开启SMTP服务](https://www.yuque.com/pengyuanyuan-hqdma/ks1r1a/xs7xmn)  \n\n### 2. MySQL数据库 \n\u003e 本项目使用mysql 5.7版本\n  - 方式1: [手动部署MySQL数据库](https://www.yuque.com/pengyuanyuan-hqdma/ks1r1a/vsw0o9)  \n  - 方式2: 购买MySQL云服务  \n\n### 3. 初始化数据库   \n将 [server/open_hetu.sql](/LianjiaTech/hetu/blob/master/server/open_hetu.sql) 文件, 通过mysql Gui工具, 导入到数据库  \n\n### 4. 创建配置文件  \n克隆项目, 在项目根目录下创建`system_config.ini`文件, 配置内容如下(将****替换为自己的配置, 去掉注释内容)  \n```ini\n[server]\nport = 9536         // node服务启动端口\n\n[mysql]             // mysql配置\nhost = ****\nport = ****\nuser = ****\npassword = ****\ndatabase = ****\n\n[email]\nhost = smtp.163.com // SMTP服务域名\nport = 364          // 连接端口\nuser = ****         // 公共邮箱账号\npass = ****         // 授权密码\n```\n\u003e 如果项目报`host port`未找到, 可尝试将配置写死在项目中\n\n### 5. 全局安装yarn\n```\nnpm install -g yarn\n```\n\n## 🚀 开始\n### 第一步 启动组件库服务\n```\n# 进入plugin目录\ncd ./plugin\n\n# 安装依赖\nyarn\n\n# 打包输出esm模块\nyarn run build:umd\n\n# 启动组件库服务\nyarn run server:dist\n```\n打开 [http://127.0.0.1:8080/manifest.json](http://127.0.0.1:8080/manifest.json) 预览, 可以看到如下内容\n```json\n{\n  \"files\": {\n    \"index.js\": \"/0.0.6/hetu.umd.development.js\",\n    \"index.min.js\": \"/0.0.6/hetu.umd.production.min.js\",\n    \"index.css\": \"/0.0.6/index.css\"\n  },\n  \"entrypoints\": [\n    \"index.js\",\n    \"index.css\"\n  ]\n}\n```\n河图主应用, 会自动读取里面的内容, 并动态加载资源\n\n### 第二步 安装依赖\n安装client层依赖\n```shell\ncd ../client \u0026\u0026 yarn\n```\n\n安装server层依赖\n```shell\ncd ../server \u0026\u0026 yarn\n```\n\n### 第三步 启动服务\n启动client层服务\n```shell\ncd ../client \u0026\u0026 yarn start\n```\n\n启动server层服务\n```shell\ncd ../server \u0026\u0026 yarn dev\n```\n\n打开 [http://127.0.0.1:1234](http://127.0.0.1:1234) 预览, 可使用任意邮箱注册账号\n\n![](https://file.ljcdn.com/hetu-cdn/hetu-display-index-1598618209.png)\n\n## 🤝 版本记录\n\n[CHANGELOG](/CHANGELOG.md)\n\n## 🙋 问题咨询\n- QQ群 【河图开源交流】 782899873\n\n## ❤️ 主要贡献者\n\n| Name                                     | Avatar                                                                                                     | Name                                     | Avatar                                                          | Name                                   | Avatar                                                                                                    | Name                                      | Avatar                                                                                                     | Name                               | Avatar                                                                                                     |\n| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------- |\n| [好爸爸](https://github.com/good-father) | ![](https://avatars0.githubusercontent.com/u/18495604?s=40\u0026u=9c52375b23eb3eb0402922cabb1cb90e910fc943\u0026v=4) | [嘻老师](https://github.com/aa978563552) | ![](https://avatars0.githubusercontent.com/u/61268325?s=40\u0026v=4) | [姚泽源](https://github.com/YaoZeyuan) | ![](https://avatars3.githubusercontent.com/u/7150325?s=40\u0026u=8fb766237479748224c4425c4badd436872fcc12\u0026v=4) | [liaoqixin](https://github.com/liaoqixin) | ![](https://avatars1.githubusercontent.com/u/39083857?s=40\u0026u=bdc30ac0690d258bff8053d91e7ee114891de6fe\u0026v=4) | [般若超](https://github.com/WISZC) | ![](https://avatars2.githubusercontent.com/u/37796897?s=40\u0026u=fe779bfa82b95da9bbc39eb33bfa3ab239969e07\u0026v=4) |\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright(c) 2020 Lianjia, Inc. All Rights Reserved\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLianjiaTech%2Fhetu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLianjiaTech%2Fhetu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLianjiaTech%2Fhetu/lists"}