This is a modified version of the Vanilla JavaScript TodoMVC Example adapted to demonstrate the Datasette 1.0 alpha JSON API.
To try this out, visit https://todomvc.datasette.io/
The database table used by this demo is automatically deleted every 15 minutes.
The code that talks to the Datasette API lives in this file:
https://github.com/simonw/todomvc-datasette/blob/main/js/store.js
This is the only file I changed from the original.