A Raspberry Pi wired Foosball table that uses the Watson IoT Foundation, Cloudant, and Node-RED
This is a demo application so the bulk of the code is a series of Node-RED flows. We recommend running this application in Bluemix, but you can easily run it in any environment with Cloudant(CouchDB) and Node-RED.
Before you start to implement please review the instructions and bugs at our documentation page: http://slkaczma.github.io/iot-foosball
- Node-RED - The app runs Node-RED embedded in an Express application. Refer to server.js.
- Twitter App Credentials - You need to create an app with Twitter to use the Passport OAuth Login for users.
- Cloudant - noSQL database that stores the game and player data. The game database should be populated with two initial files totalGames and 1 to avoid errors in gameplay.
Version 2 of this code is a collaboration between Stefania Kaczmarczyk, Oliver Rodriquez, and Vance Morris.