Files
onion-dmp/README.md
2026-04-08 14:52:09 +08:00

45 lines
988 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DMP 标签分析系统
这是一个基于用户标签的分析看板,用来做筛选、组合查询和人群查看。
## 启动
### 本地运行
```bash
npm install
npm start
```
默认访问:`http://localhost:3456`
### 也可以直接双击启动
- Windows`start.bat`
- macOS`start.command`
## 主要功能
- 点击标签筛选人群
- 支持多标签组合计算
- 查看当前条件下的样本数据
- 查看标签覆盖人数和占比
## 数据说明
- 数据库SQLite
- 后端Node.js + Express
- 前端:原生 JavaScript
- 当前数据源为清洗后的业务数据,不是演示模拟数据
## 主要接口
- `GET /api/tags`
- `POST /api/compute`
- `POST /api/compute/cross`
## 部署
- 本地服务端口:`3456`
- 外网地址:`https://dmp.ink1ing.tech`
## 备注
- 代码中保留了部分数据清洗、导入和部署脚本
- 标签分类和命名会随清洗结果调整
- Node.js (16.x 或更高)
- 现代浏览器 (Chrome / Edge / Safari)