Contains the Velocity Career Labs
- Credential Agent,
- "Oracle" server containing the combined
- Blockchain oracle
- registrar
- push notification gateway
- phone/email verifing issuer vendor
- (Coming soon) network event sink.
- Mock Vendor Gateway use by VCL in its deployment
yarn
yarn start
docker-compose up
Containers are required to be running for tests to work:
Use the docker-compose-unit-testing.yml for example:
docker compose -f ./docker-compose-unit-testing.yml up
- credentialagent migrations need to be run against test
credentialagent database in order to tests to pass locally.
For a default configuration that would be:
MONGO_URI=mongodb://localhost:27017/test-credential-agent yarn migrate:upfrom theservers/credentialagentdirectory.
See Data Migrations section below for more information on migrations
The oracle's .env file should have AWS_ENDPOINT set to the host exposed by localstack, which, by default, should be http://localhost:4566.
- For running oracle migrations, see
servers/oracle/README.md - For running credential agent migrations, see
servers/credentialagent/README.md