JinZHouXiYiJi_DaPin2/README.md

132 lines
4.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

![](./public/logo.png)
![](https://img.shields.io/github/license/AnsGoo/openDataV)
![](https://img.shields.io/github/stars/AnsGoo/openDataV)
![](https://img.shields.io/github/issues/AnsGoo/openDataV)
![](https://img.shields.io/github/forks/AnsGoo/openDataV)
## 简介
🎃OpenDataV 是一个纯前端的`拖拽式`、`可视化`、`低代码`数据可视化🌈开发平台,你可以用它自由的拼接成各种✨炫酷的大屏,同时支持用户方便的开发自己的组件并接入平台。
## 体验
🧙国外:[http://datav.byteportrait.com/](http://datav.byteportrait.com/)
🧙国内:[http://small_bud_star.gitee.io/opendatav](http://small_bud_star.gitee.io/opendatav)
🧙国内:[http://opendatav.xingxingzaixian.fun/](http://opendatav.xingxingzaixian.fun/) (已对接后端)
🧙文档: [https://datav.byteportrait.com/#/docs/quick-satrt/quick-start](https://datav.byteportrait.com/#/docs/quick-satrt/quick-start)
## 源码地址:
🍨github: [https://github.com/AnsGoo/openDataV](https://github.com/AnsGoo/openDataV)
🍨gitee: [https://gitee.com/small_bud_star/OpenDataV](https://gitee.com/small_bud_star/OpenDataV)
🍨后端: [https://gitee.com/small_bud_star/open-data-backend](https://gitee.com/small_bud_star/open-data-backend)
目前该项目在不断的完善中,🎉欢迎 issuer,🌹欢迎 start, 🎨欢迎 commit, 🚀欢迎 use...,💪欢迎一切技术交流活动
## 👁️预览
### 🤿 页面编辑
1. 组件添加
![screenshots2.gif](https://s2.loli.net/2022/10/31/nApiFm7PogI1dHS.gif)
2. 组件操作
![screenshots1.gif](https://s2.loli.net/2022/10/31/9lkiR15sVMLapIe.gif)
3. 组件数据配置
![screenshots.gif](https://s2.loli.net/2022/10/31/28lf6NK35EaY9wJ.gif)
### 🖇️ 接口管理
![API.png](https://s2.loli.net/2022/10/31/f1GuMTIp2rzEPQF.png)
## 💒功能
- 🎊 编辑器页面基本功能完成,包括编辑、预览、导入、导出、保存
- 🪄 图层的置顶、置底、上下移动、显示、隐藏、复制、剪切、粘贴
- 🖼️ 组件的缩放、旋转、拖动、复制、粘贴、组合、拆分、移除、自动对齐
- 🔮 支持用户操作记录的恢复、撤销功能
- 🧶 支持用户自定义组件
- 📔 支持组件的用户自定组件配置项
- 🏪 支持明暗主题切换
- 🧬 使用Monorepo模式进行组件和依赖管理
- 🧶 组件数据自定义接入
- 🔌 数据动态处理JS已完成
- 🖇️ 接口管理(示例数据、静态数据、HTTP接口数据已完成适配)
## 🎢技术点
本项目采用`Vue3` + `vite` + `TypeScript`开发,界面库使用`NaiveUI`使用面向对象方式封装了路由、请求、存储组件采用自动扫描注册、异步加载提升渲染速度使用IndexDB存储快照数据减少快照数据内存占用加快访问速度组件独立依赖解耦了组件和基础框架的依赖库方便后续独立开发组件。
目前仅开发了部分组件,后续还会继续完善。
## ⌛计划功能
- [ ] 组件管理
- [ ] 脚本管理Python待支持
- [ ] GraphQL、GRPC、WebScoket、MQTT、SocketIO多种数据接口适配
- [ ] 代码生成
- [ ] 动态文档
- [ ] 全局数据接入
## 💂开发
### 🧊开发环境
| 名称 | 版本 |
| ---- | ------- |
| node | 16.14.x |
| pnpm | 7.9.3 |
| vue | 3.2.37 |
🚥目前仅在 `Chrome``Microsoft Edge` 最新版浏览器测试过,其他浏览器未测试
### 🎮启动项目
```Bash
# 安装依赖
pnpm install
pnpm bootstrap
# 运行项目
pnpm dev
# 打包项目
pnpm build
```
## 🧑‍💻代码提交
git commit 信息请按照如下规范进行书写
- feat: 新功能
- fix: 修复 Bug
- docs: 文档修改
- perf: 性能优化
- revert: 版本回退
- ci: CICD 集成相关
- test: 添加测试代码
- refactor: 代码重构
- build: 影响项目构建或依赖修改
- style: 不影响程序逻辑的代码修改
- other: 不属于以上类型的其他类型(日常事务)
## ☎️联系方式
**技术交流,请加微信群**
<img src="./public/wechat.png" style="width:430px">
**更新动态请关注公众号**
![wechat](./screenshot/OfficialAccounts.jpg)
**如果群链接失效请加微信回复OpenDataV 拉群**
![](./screenshot/wechat.png)