The aREST cloud server code
It's now time to actually deploy an application on the server that you just created. As the software for your cloud server, we are going to use the aREST cloud server that we have already used before.
It is completely free and open source, and you can get the latest version of the software from here:
https://github.com/marcoschwartz/meteor-aREST-mqtt
For now, simply copy all the files from this repository and put them inside any folder on your computer.
Note
This application actually uses the Meteor framework, which is a complete framework based on JavaScript and Node.js and can be used to create powerful web applications.
If it's not been done yet, install Meteor on your computer by going to:
Now, let's have a quick overview of the code of the aREST cloud server. The code is quite complicated, but I just wanted to highlight some parts here so you understand how it works.
Whenever a device connects to the server, the software...