Skip to content

myo-min-htet/settlements-bc

Repository files navigation

Settlements Bounded Context

Git Commit Git Releases Docker pulls CircleCI

Packages

The Settlements BC consists of the following packages;

public-types-lib

Public shared types. README

domain-lib

Domain library types. README

infrastructure-lib

Infrastructure library. README

settlements-bc-http-svc

HTTP service for Settlements BC. README

settlement-model-lib

Settlement library used to determine the settlement model for a settlement transfer. README

shared-mocks-lib

Mock implementation used for testing. README

Run

npm run start:http-svc

Usage

Install Node version

More information on how to install NVM: https://github.com/nvm-sh/nvm

nvm install
nvm use

Install Dependencies

npm install

Build

npm run build

Unit Tests

npm run test:unit

Run the services

Startup supporting services

Use https://github.com/mojaloop/platform-shared-tools/tree/main/packages/deployment/docker-compose-infra

Follow instructions in the docker-compose-infra README.md to run the supporting services.

After running the docker-compose-infra we can start settlements-bc-http-svc:

npm run start:http-svc

Integration Tests

npm run test:integration

Troubleshoot

Unable to load dlfcn_load

error:25066067:DSO support routines:dlfcn_load:could not load the shared library

Fix: https://github.com/mojaloop/security-bc.git export OPENSSL_CONF=/dev/null

Documentation

The following documentation provides insight into the Settlements Bounded Context.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •