Skip to content
 
 

Repository files navigation

Fire IoT Platform

工业级消防设备 IoT 平台 monorepo。

Modules

fire-iot-platform
├── go-backend      # Go 后端服务
├── web-operation   # Vue3 运营管理后台
├── device          # C++ / libhv 设备端示例
├── docs            # 架构、协议、数据库和部署文档
├── docker          # Docker / Mosquitto 等部署配置
└── tools           # 辅助脚本

Tech Stack

  • Backend: Go, PostgreSQL, Redis, MQTT, WebSocket
  • Frontend: Vue3, Vite, TypeScript, Pinia, Element Plus
  • Device: C++, libhv
  • Broker: Mosquitto
  • Database: PostgreSQL
  • Cache: Redis

完整技术清单和本地环境记录见:技术栈与本地开发环境

Quick Start

  1. Start infrastructure:
make infra-up
  1. Run database migrations:
make migrate-up
  1. Start backend:
make backend-run
  1. Start frontend in another terminal:
make web-install
make web-dev

Frontend URL:

http://localhost:5173

Default development account:

super_admin / 123456

Common Commands

make backend-test
make web-build
make infra-up
make migrate-up
make backend-run
make web-dev

Important Notes

  • Do not commit real .env files.
  • Do not commit node_modules/, dist/, Go build artifacts, or local database data.
  • Protocol and database design documents live in docs/.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages