This week we have been working on our MEAN servers. MEAN stands for MongoDB, ExpressJS, AngularJS, and NodeJS. If you are interested, you can find out more information about MEAN here: http://mean.io/#!/
So we have set up a test server on our local machines, and we are practicing interfacing with the API that Dr. Anderson set up. Essentially, all this does at the moment is return a tiny bit of information (see below for a screenshot).
We have been using this to learn how to interface with the JSON data from the API in our C# program. So far I have managed to get the JSON data as a string and display it on my app screen. By the end of the day, I hope to successfully parse the data and be able to manipulate it via voice activation. The ultimate goal is to tell Cortana to turn a device on/off and have her send the command to our app, which will interface with the API, which in turn, sends the data to the server. Then using openHAB, the device will be turned on or off.
There have been a lot of tutorials this week, and the quest for knowledge is ever-increasing!
So we have set up a test server on our local machines, and we are practicing interfacing with the API that Dr. Anderson set up. Essentially, all this does at the moment is return a tiny bit of information (see below for a screenshot).
We have been using this to learn how to interface with the JSON data from the API in our C# program. So far I have managed to get the JSON data as a string and display it on my app screen. By the end of the day, I hope to successfully parse the data and be able to manipulate it via voice activation. The ultimate goal is to tell Cortana to turn a device on/off and have her send the command to our app, which will interface with the API, which in turn, sends the data to the server. Then using openHAB, the device will be turned on or off.
There have been a lot of tutorials this week, and the quest for knowledge is ever-increasing!