We use Data Tables to store the reminders. Data Tables is an out-of-the-box option for data storage in Anvil, and it’s backed by PostgreSQL.
Our reminders are stored in a table with a Text column for the description, and a True/False column to mark which reminders are done.
For this app, we enable read/write access to our Reminders table from the client .
The next tutorial describes how to precisely control Data Tables access via the server to
meet security best-practice.
We want to display our reminders visually, so on our Form we need to create a list with one element per reminder.
We do this using a RepeatingPanel. A RepeatingPanel repeats a UI template once for each item in a list.
We add a CheckBox to the template, which is sufficient to display each reminder.
We’ve tested it and it works, so it’s time to publish. We choose ‘Publish App’ in the Gear menu
and copy-paste the private link. This is a random, unguessable URL that’s similar
to a Google Docs sharing link.
Anvil apps can also be published at a more memorable URL, simply by clicking ‘Share via public link’.