RDFLib / prez-ui

BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Prez Lib API service layer #158

Closed jamiefeiss closed 7 months ago

jamiefeiss commented 8 months ago

Implemented a service layer for making API calls to the Prez API backend for prez-lib. Currently there are 2 service functions to call: getList() and getItem(). Both functions call prez-lib's N3 store to process the turtle response into prez-lib objects, as well as returning the profiles from the link headers of that response.

The prez-ui Nuxt app now uses these service functions and has 2 supported pages - /catalogs and /catalogs/<catalog_id>.

Fixed the sorting for the PrezUIItemList component.

Also enforced using PNPM instead of NPM for this project.