Ask HN: GUI approach for client-side CRUD to edit data model used by devs
I think JSON would be an easy to work with format for the data model. Since the data model is somewhat complex (e.g. it contains non-trivial relations), I'd like to provide a GUI to edit it - basically a CRUD, which transforms a JSON.
One idea is to run the whole CRUD in-browser but offline (à la MyEtherwallet), i.e. provide the app as index.html and .js files to users. A problem is file-io: The JSON model would have to be loaded into a React browser app using a input-file dialog. Afterwards the updated JSON would have to be downloaded and copied over the previous version of the JSON. The upside is that it 'just runs'. No node.js installation or anything needed on developer systems. The downside is, that it can be unintuitive to use, e.g. the application state is lost, when the user hits F5 or the back-button.
An alternative to a browser app would be to use Electron, but the overhead of the binary version is a bit frightening due to embedded chrome/nodejs. Open question (I should try that out): Is it possible to commit the binaries once, such that users just have to update the webapp part (html+js) from version control subsequently to get an up-to-date app?
Are there alternative approaches that I'm missing?
TLDR: Need a versionable GUI approach to transform a JSON document, which is readily runnable after syncing the GUI source and JSON-file from version control. Completely client-side, no setup-step or dependencies for users.