This repository contains all code snippets and materials for our workshop "Build your own IoT Cloud".
The folder code is an Eclipse workspace. You can just open that in Eclipse and all projects should be there.
Attention: You need an Eclipse with the M2E (Maven Eclipse Plugin) installed, in order to compile and run the HiveMQ plugin and the REST API.
Just open the individual projects in IntelliJ and enable Maven Auto-Import functionality.
Run Devicesimulator.java in your IDE.
- Download HiveMQ
- Add path to HiveMQ in pom.xml
- Run mvn package -P RunWithHiveMQ
- Run IotCloudApplication.java with the following programm arguments: server iotcloud.yml
- Open index.html in a current browser
- Copy web app into 1.0-restapi/src/main/resources/assets
- Run REST API
- Open http://localhost:8080/app in your local browser