MPVN_CMP/README.md
2025-12-09 13:16:32 +08:00

46 lines
940 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.

# 节能建筑云管理平台 (Energy Smart SaaS)
多租户节能建筑云管理平台 Demo支持设备监控、能耗分析、告警管理等功能。
## 技术栈
- **前端**: Vue 3 + Element Plus + ECharts + Vite
- **后端**: NestJS + TypeORM + MySQL + Redis
- **时序数据**: TDengine
- **实时通信**: Socket.IO + MQTT
## 快速启动
### 方式一:本地部署
```bash
# 1. 安装依赖
cd backend && npm install
cd ../frontend && npm install
# 2. 启动服务
./start.sh
```
- 前端: http://localhost:5173
- 后端: http://localhost:3001
### 方式二Docker 部署
```bash
docker-compose up -d
```
- 前端: http://localhost:8080
- 后端: http://localhost:3001
## 目录结构
```
├── backend/ # NestJS 后端服务
├── frontend/ # Vue 3 前端应用
├── mock/ # Mock 数据
├── docker-compose.yml
└── start.sh # 本地启动脚本
```