<p>In our family, it is hard to track whether the dog gets his three meals a day. So I wrote a simple app that works like this:</p> <ol> <li>The dog food bin has an NFC tag</li> <li>Our iPhones have a shortcut that, when the NFC tag is tapped, checks how many times the dog has been fed</li> <li>A Spin TypeScript app uses Key Value Store to track and store how many times the NFC token has been tapped</li> <li>If the dog has been fed already, the iPhone shortcut lets the user know. Otherwise it logs a feeding.</li> </ol> <p>The Spin app has both a web UI and a simple JSON REST API. The iPhone shortcut uses the REST API.</p>