I think the best would be to have a tree-view (of databases and as children the resources thereof). This should show the databases for which a user has permissions. But to simplify we currently have a kind of super administrator, who can view, update, create and delete all databases.
So… initially this tree-view will be empty. We then need to have a possibility to create one node, a database, and which type (based on XML or JSON currently supported).
I think then we’ll be able to provide a kind of file Upload component, which can upload multiple JSON or XML files (depending on the type of database) to create binary resources of these files in SirixDB and an initial revision
For sure we should be able to use any XML documents or JSON files. For now, we can for instance use test data from bundles/sirix-core/src/test/resources
.
I think that would be a good first step.
What do you think?