Skip to content

bcgov/indy-vdr-proxy-server

Repository files navigation

indy-vdr-proxy-server

Description

HTTP proxy for the Indy verifiable data registry to be used with BC Wallet et al.

Installation

$ yarn install

Running the app

$ docker build --tag 'proxy' .
$ docker run -p 3000:3000 'proxy'

Optionally, you can pass --user 1014420000 to the above command to simulate an OpenShift environnment.

If you don't want to see the logs, add --detach as well.

Note: To run locally without using Docker, temporarily prefix the base filesystem paths in src/helpers/agent.ts with process.cwd()

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

Eslint and Prettier

# eslint
$ yarn lint

# prettier
$ yarn format