Skip to content

transmute-industries/vc.transmute.world

Repository files navigation

Verifiable Credentials API

CI Google Cloud Run

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:

Getting started

This is a lerna mono repo.

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

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