This PR adds a VC API server, added as git submodule. This means that while the code is included in this repo (for easy building with Docker Compose) it is instead located at https://github.com/kadaster-labs/vc-api-nodejs.
This PR simultaneously adds the client code for said VC API, using the same API definitions (the spec from https://github.com/w3c-ccg/vc-api/). This provides a clean and easy to use interface for accessing the VC API:
const api = new IssuerApi({ basePath: "http://localhost:8080" });
const credential = await api.issueCredential();
console.log("Recieved credential", credential);
This should lay a nice foundation for further VC demo functionality
Follows on https://github.com/kadaster-labs/solid-quest/pull/31.
This PR adds a VC API server, added as git submodule. This means that while the code is included in this repo (for easy building with Docker Compose) it is instead located at https://github.com/kadaster-labs/vc-api-nodejs.
This PR simultaneously adds the client code for said VC API, using the same API definitions (the spec from https://github.com/w3c-ccg/vc-api/). This provides a clean and easy to use interface for accessing the VC API:
This should lay a nice foundation for further VC demo functionality