<p align="center">
<img src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9202d4d9e234092881b110c5bfeee7c~tplv-k3u1fbpfcp-zoom-1.image" width="60" height="60"/>
<h1>河图</h1>
</p>
河图, 是一个 `低代码` 平台, 通过可视化界面, 快速生成各种后台页面, 极大减少开发成本。
河图是贝壳找房内部孵化项目, 目前已在公司大多数业务线落地, 完成200+项目, 1500+页面。
![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/c879472eac3a4e65806f7b18e188d112~tplv-k3u1fbpfcp-zoom-1.image)
## ✨ 特性
- 🚴♀️ 操作简单、功能强大的可视化编辑器
- 📦 开箱即用、高质量后台管理系统模版
- ⚙️ 开发流程全部线上化,节省沟通、调试、运维成本
- 🛡 使用 React、TypeScript、nodejs、express 开发
## 🖥 兼容环境
- 现代浏览器、IE11以上
## 🔗 链接
- [项目文档](http://139.155.239.172/)
- [项目首页](http://139.155.239.172:9536/)
- [服务器部署](/deploy.md)
## 🍼 准备
### 1. 一个邮箱账号
用于发送验证码, 需要 [开启SMTP服务](https://www.yuque.com/pengyuanyuan-hqdma/ks1r1a/xs7xmn)
### 2. MySQL数据库
> 本项目使用mysql 5.7版本
- 方式1: [手动部署MySQL数据库](https://www.yuque.com/pengyuanyuan-hqdma/ks1r1a/vsw0o9)
- 方式2: 购买MySQL云服务
### 3. 初始化数据库
将 [server/open_hetu.sql](/LianjiaTech/hetu/blob/master/server/open_hetu.sql) 文件, 通过mysql Gui工具, 导入到数据库
### 4. 创建配置文件
克隆项目, 在项目根目录下创建`system_config.ini`文件, 配置内容如下(将****替换为自己的配置, 去掉注释内容)
```ini
[server]
port = 9536 // node服务启动端口
[mysql] // mysql配置
host = ****
port = ****
user = ****
password = ****
database = ****
[email]
host = smtp.163.com // SMTP服务域名
port = 364 // 连接端口
user = **** // 公共邮箱账号
pass = **** // 授权密码
```
> 如果项目报`host port`未找到, 可尝试将配置写死在项目中
### 5. 全局安装yarn
```
npm install -g yarn
```
## 🚀 开始
### 第一步 启动组件库服务
```
# 进入plugin目录
cd ./plugin
# 安装依赖
yarn
# 打包输出esm模块
yarn run build:umd
# 启动组件库服务
yarn run server:dist
```
打开 [http://127.0.0.1:8080/manifest.json](http://127.0.0.1:8080/manifest.json) 预览, 可以看到如下内容
```json
{
"files": {
"index.js": "/0.0.6/hetu.umd.development.js",
"index.min.js": "/0.0.6/hetu.umd.production.min.js",
"index.css": "/0.0.6/index.css"
},
"entrypoints": [
"index.js",
"index.css"
]
}
```
河图主应用, 会自动读取里面的内容, 并动态加载资源
### 第二步 安装依赖
安装client层依赖
```shell
cd ../client && yarn
```
安装server层依赖
```shell
cd ../server && yarn
```
### 第三步 启动服务
启动client层服务
```shell
cd ../client && yarn start
```
启动server层服务
```shell
cd ../server && yarn dev
```
打开 [http://127.0.0.1:1234](http://127.0.0.1:1234) 预览, 可使用任意邮箱注册账号
![](https://file.ljcdn.com/hetu-cdn/hetu-display-index-1598618209.png)
## 🤝 版本记录
[CHANGELOG](/CHANGELOG.md)
## 🙋 问题咨询
- QQ群 【河图开源交流】 782899873
## ❤️ 主要贡献者
| Name | Avatar | Name | Avatar | Name | Avatar | Name | Avatar | Name | Avatar |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [好爸爸](https://github.com/good-father) | ![](https://avatars0.githubusercontent.com/u/18495604?s=40&u=9c52375b23eb3eb0402922cabb1cb90e910fc943&v=4) | [嘻老师](https://github.com/aa978563552) | ![](https://avatars0.githubusercontent.com/u/61268325?s=40&v=4) | [姚泽源](https://github.com/YaoZeyuan) | ![](https://avatars3.githubusercontent.com/u/7150325?s=40&u=8fb766237479748224c4425c4badd436872fcc12&v=4) | [liaoqixin](https://github.com/liaoqixin) | ![](https://avatars1.githubusercontent.com/u/39083857?s=40&u=bdc30ac0690d258bff8053d91e7ee114891de6fe&v=4) | [般若超](https://github.com/WISZC) | ![](https://avatars2.githubusercontent.com/u/37796897?s=40&u=fe779bfa82b95da9bbc39eb33bfa3ab239969e07&v=4) |
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright(c) 2020 Lianjia, Inc. All Rights Reserved
没有合适的资源?快使用搜索试试~ 我知道了~
hetu低代码平台源码.zip
共787个文件
ts:342个
md:119个
tsx:119个
需积分: 1 0 下载量 42 浏览量
2024-01-26
23:48:34
上传
评论
收藏 1.69MB ZIP 举报
温馨提示
低代码平台通过可视化界面, 快速生成各种后台页面, 极大减少开发成本。 操作简单、功能强大的可视化编辑器 开箱即用、高质量后台管理系统模版 开发流程全部线上化,节省沟通、调试、运维成本 使用 React、TypeScript、nodejs、express 开发
资源推荐
资源详情
资源评论
收起资源包目录
hetu低代码平台源码.zip (787个子文件)
index._md 751B
.babelrc 732B
.babelrc 240B
河图代码平台说明.docx 149KB
.eslintignore 181B
.eslintrc 116B
.gitignore 530B
.gitignore 172B
template.html 1KB
template.html 813B
index.html 684B
index.html 638B
ke.ico 4KB
favicon.ico 4KB
favicon.ico 4KB
favicon.ico 4KB
favicon.ico 4KB
favicon.ico 4KB
webpack.config.js 29KB
fields.js 9KB
zh-CN.js 6KB
build.js 6KB
webpackDevServer.config.js 6KB
start.js 5KB
env.js 4KB
bisheng.config.js 4KB
tsdx.config.js 3KB
paths.js 3KB
index.js 2KB
modules.js 2KB
jest.config.js 2KB
test.js 1KB
prettier.config.js 1KB
setupProxy.js 699B
.jest.js 640B
ErrorBoundary.js 515B
copy-docs.js 498B
copy_static_assets.js 318B
utils.js 255B
index.js 157B
copy-types.js 145B
style.js 121B
index.js 45B
tsconfig.json 5KB
package.json 5KB
package.json 4KB
package.json 3KB
package.json 2KB
.eslintrc.json 2KB
tsconfig.json 1KB
tsconfig.json 447B
jsconfig.json 222B
MainContent.jsx 9KB
Header.jsx 7KB
Demo.jsx 6KB
ComponentDoc.jsx 5KB
Article.jsx 3KB
index.jsx 3KB
index.jsx 3KB
utils.jsx 3KB
ColorPicker.jsx 3KB
index.jsx 3KB
Palette.jsx 3KB
ColorPaletteTool.jsx 2KB
ColorPalettes.jsx 2KB
index.jsx 2KB
index.jsx 1KB
Category.jsx 1KB
themeIcons.jsx 1KB
ColorBlock.jsx 864B
CopyableIcon.jsx 845B
NotFound.jsx 595B
util.jsx 586B
EditButton.jsx 552B
SentryBoundary.jsx 503B
Redirect.jsx 438B
PrevAndNext.jsx 397B
index.jsx 326B
ColorPatterns.jsx 308B
AppShell.jsx 175B
BrowserFrame.jsx 120B
v2-compatible-reset.jsx 37B
index.jsx 23B
tinyColor.less 36KB
default.less 18KB
base.less 11KB
markdown.less 8KB
home.less 7KB
colors.less 6KB
responsive.less 6KB
demo.less 5KB
index.module.less 4KB
bezierEasing.less 4KB
preview-img.less 3KB
colors.less 3KB
header.less 3KB
index.less 3KB
santa.less 3KB
zoom.less 3KB
highlight.less 3KB
共 787 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
不安分的猿人
- 粉丝: 3697
- 资源: 1473
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功