In the previous recipe, we saw how to access data on the Galileo board. It would be even better if we could get this data and then store it in a database on your computer, to be processed, sent, or displayed. This is exactly what we are going to do in this recipe.
To store data on our computer, we are going to use the powerful MongoDB database, which is commonly used with Node.js. You can find more information about MongoDB at https://www.mongodb.org/.
Then, after following the instructions on the MongoDB website, you will be able to run it on your computer from a terminal. If you are using Windows, use a terminal such as PuTTY. This is what you will see: