Minimal example of Shiny database reactivity

Is there a template or framework for a Shiny database CRUD app that makes reactivity as simple as possible:

  • input fields
  • database key (a set of fields like name & date)
  • backend cloud db
  1. when key changes, retrieve by key —> populate UI
  2. when user presses Save button —> update db from input collection (data elements only)

I’ve hacked my own version but wanted to know if there is a “canonical form” of Shiny app that keeps the UI and database in sync. (I happen to be using MongoDB and JSON but it could be any db, any structure.)

The Shiny documentation is fragmented and I haven't seen a simple framework for this.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.