Skip to content

SamagraX-RCW/credential

Repository files navigation

Tests

Credential Microservice

Description

Nest based CRUD APIs to, claim, sign and generate shareable verifiable credentials. This repository is intended to be used with the Unified Learner's Passbook project in the state of Uttar Pradesh, India.

Installation

$ npm install

OR

$ npx yarn

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

OR

# development
$ npx yarn run start

# watch mode
$ npx yarn run start:dev

# production mode
$ npx yarn run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

OR

# unit tests
$ npx yarn run test

# e2e tests
$ npx yarn run test:e2e

# test coverage
$ npx yarn run test:cov

OR

# Run tests in container from services/credential-service folder
$ make test

# Run tests in container from base folder
$ make -C services/credentials-service test

Stay in touch

License

Nest is MIT licensed.

Links