Source code for the Internet of Things service platforms chapter of the book "Learning Internet of Things".