During this week I worked on the HTTP  broker, which will receive data from the sensors platform and will process and store it into the database. We decided to use HTTP instead of other protocols (such as MQTT or some TCP protocol) since the ramp-up is easy for both parts.

By myself, I finished the broker in a basic build, which only has one call and does not connect with the database. The way I developed this was in a TDD, in which I first wrote unit testing and over this I implemented functionality. In particular, I learned how to test HTTP servers. In previous works, I never tested this, since I didn’t know how.

Also related to the broker, I wrote a Swagger documentation file, which will help Carlos in developing the connection between the sensor platform and this broker.