aegisbigdata / documentation

0 stars 0 forks source link

Project Metadata Creation Page #131

Closed fabiankirstein closed 5 years ago

fabiankirstein commented 5 years ago

The metadata page for projects needs to come to life. It is this one: http://bbc6.sics.se:8080/aegis/#!/project/1045/extended-metadata The projects metadata corresponds to catalogues in DCAT-AP. The fields should be based on these specifications. The following fields should be available (for now):

The fields modified and issued will be set automatically. The users input should generate a RDF string, which will be send to the backend. It's a good idea to use an existing JavaScript library for that (https://www.w3.org/community/rdfjs/wiki/Comparison_of_RDFJS_libraries). As serialisation format JSON-LD is maybe the best fit here. An similar example can be found here: https://www.europeandataportal.eu/data/api/catalogues/edp

fabiankirstein commented 5 years ago

First results here: https://github.com/aegisbigdata/hopsworks/tree/feature/project-metadata-creation-page

fabiankirstein commented 5 years ago

@aldafu @Kritzzz Thanks. I have some questions:

Kritzzz commented 5 years ago
fabiankirstein commented 5 years ago

Thanks! We discussed this issue in our telco today and there seems to alrady a solution for this kind of problem. You can use npm packages with bower. It was for example done with the apexcharts library, see https://github.com/aegisbigdata/hopsworks/blob/dev/aegis-web/yo/bower.json

Can you check this out?

Kritzzz commented 5 years ago

okay - json-ld is now loaded via the bower-npm-resolver instead of npm directly!

aldafu commented 5 years ago

Added a branch with further improvements here: https://github.com/aegisbigdata/hopsworks/tree/feature/project-metadata-creation-page-alex

See commit messages for details.