Provide an open source IoT management platform that supports access to various devices and completes custom functions such as data reporting, analysis, and processing.
Before using this project, you should have some understanding of the above technologies.
---------hsweb-iot-cloud
-------------docker # 一些docker脚本
---------------dev-env # 启动开发环境需要的外部服务(redis,kafka,zookeeper等)
-------------eureka-server # 服务注册中心
-------------gateway-server # 基于zuul的网关服务
-------------iot-components # 通用组件
------------------iot-authorization # 权限集成
------------------iot-cloud-stream # spring-cloud-stream集成
------------------iot-logging # 访问日志,系统日志集成
------------------iot-redis # redis集成
------------------server-dependencies # 微服务通用依赖
-------------mqtt-emulator # mqtt客户端模拟器
-------------user-server # 用户服务
-------------interaction-server # 物联网设备交互服务
Agreement: All microservices are suffixed with -server
. Microservices are prohibited from relying on other microservices and can only rely on common dependencies within iot-components
. FeignClient
or spring cloud stream
are used to communicate between microservices.
This project uses redis, kafka, and zookeeper. Therefore, you need to install and start the corresponding services before starting the project.
Take linux as an example:
Download source code
git clone https://github.com/hs-web/hsweb-iot-cloud.git
Execute the startup development environment script and docker will be used to install the corresponding services. (Install docker by yourself)
./start-dev-env.sh
The installation script under Windows is not provided. Under Windows, please install related services by yourself: redis
, zookeeper
, kafka
.
Start services in sequence
eureka-server,gateway-server,user-server....
After the service is started successfully, browser access: http://localhost:8000, username: admin, password: admin
Database, the project uses h2
database by default. You can modify application.yml
configuration to change the database. Currently, it supports: h2, mysql, oracle database. The system will automatically initialize the database when it is started for the first time, without importing database scripts.
Encounter a problem? You can join the QQ group: 515649185
, or use issues to ask questions.
There is currently a shortage of front-end boss, and the requirements are:
hsweb
.515649185
(Remarks: hsweb-iot-cloud
) @Group owner.