工业级消防设备 IoT 平台 monorepo。
fire-iot-platform
├── go-backend # Go 后端服务
├── web-operation # Vue3 运营管理后台
├── device # C++ / libhv 设备端示例
├── docs # 架构、协议、数据库和部署文档
├── docker # Docker / Mosquitto 等部署配置
└── tools # 辅助脚本
- Backend: Go, PostgreSQL, Redis, MQTT, WebSocket
- Frontend: Vue3, Vite, TypeScript, Pinia, Element Plus
- Device: C++, libhv
- Broker: Mosquitto
- Database: PostgreSQL
- Cache: Redis
完整技术清单和本地环境记录见:技术栈与本地开发环境。
- Start infrastructure:
make infra-up- Run database migrations:
make migrate-up- Start backend:
make backend-run- Start frontend in another terminal:
make web-install
make web-devFrontend URL:
http://localhost:5173
Default development account:
super_admin / 123456
make backend-test
make web-build
make infra-up
make migrate-up
make backend-run
make web-dev- Do not commit real
.envfiles. - Do not commit
node_modules/,dist/, Go build artifacts, or local database data. - Protocol and database design documents live in
docs/.