Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/transmute-industries/vc.transmute.world

Transmute's VC-HTTP-API
https://github.com/transmute-industries/vc.transmute.world

api holder issuer vc verifiable-credentials verifier

Last synced: 20 days ago
JSON representation

Transmute's VC-HTTP-API

Awesome Lists containing this project

README

        

# Verifiable Credentials API

![CI](https://github.com/transmute-industries/vc.transmute.world/workflows/CI/badge.svg) [![Google Cloud Run](https://github.com/transmute-industries/vc.transmute.world/actions/workflows/cd-gcp.yml/badge.svg)](https://github.com/transmute-industries/vc.transmute.world/actions/workflows/cd-gcp.yml)

## https://test.did.ai

WARNING: This is for demo purposes only and is NOT meant for production... private keys are intentionally exposed for education purposes..

See the Specifications in the W3C CCG:

- https://github.com/w3c-ccg/vc-http-api

## Getting started

This is a [lerna mono repo](https://github.com/lerna/lerna).

```
npm install
npm run lint
npm test
npm start
```

## CI/CD

We use Github actions for CI/CD. See https://github.com/transmute-industries/vc-http-api/tree/master/.github/workflows

- Run lint and tests
- Deploy to Docker hub
- Deploy to Google cloud run

### Github Actions Google Cloud Run CI/CD

- https://github.com/GoogleCloudPlatform/github-actions/blob/master/example-workflows/cloud-run/README.md

gcloud beta run services list
gcloud beta run domain-mappings create --service vc-http-api --domain vc.transmute.world --force-override
gcloud beta run domain-mappings describe --domain vc.transmute.world

You will need to add "allUsers" "Cloud Run Invoker" per the instuctions in Google Cloud...

To Enable Public Access.

## Docker

Dockerhub: https://hub.docker.com/r/transmute/vc-http-api

Run latest image:

```
docker pull transmute/vc-http-api:latest
docker run --rm -p 8080:8080 -d transmute/vc-http-api:latest
```

Visit http://localhost:8080