achiminator/NEOntometrics

Implement Graph-QL interface to the Tool

Closed this issue · 3 comments

I discovered that we will need to do a larger restructuring in the next months. Unfortunately, that will hinder the "Go-Live", but is crucial for the underlying scientific applications. In the future, the application shall be able to use a lot of various metrics from many different frameworks. To make that possible, however, we need to think about allowing a more flexible way of querying data.

GraphQL shall allow users to select their own structuring of data and make it possible to add new features, metrics, without breaking connecting applications. Please implement a GraphQL-interface (https://docs.graphene-python.org/projects/django/en/latest/) in the Metric-API application (Not the Frontend!) to at first

  1. query the already existing information of the models
  2. Show how we can add further elements in the future.

edit: I already started the restructuring. So if you pull the git repository now, you will not get a working application. I admit, this was not my smartest move, I should have created a new Branch. However, if you either use your current working application, or the commit "880ead2ffe48eb8d5b2cc355e60093d51d6f896e", it should work fine.

ma600 commented