Skip to content

**EXPERIMENTAL** vNext Participant Lifecycle Management Bounded Context

License

Notifications You must be signed in to change notification settings

mojaloop/participants-bc

Repository files navigation

participants-bc

EXPERIMENTAL vNext Participant Lifecycle Management Bounded Context

Install

  1. Install npm
  2. Install nvm via https://github.com/nvm-sh/nvm
  3. Make use of correct NodeJS (see below nve):

Make use of correct NodeJS:

nvm install
nvm use

Build

Run: npm install Then: npm run build

Test

Unit:

npm run test:unit  

Integration:

  1. Startup supporting services via (See README.md);
cd docker-compose
docker-compose up -d
docker-compose logs -f # tail the logs
  1. Clone https://github.com/mojaloop/security-bc
  2. Setup and start security-bc
  3. Execute the requests/Mojaloop-vNext.postman_collection.json Postman collection to create all necessary security configuration
  4. Update authentication file on the security-bc to associate your user with the participant-bc role
  5. Start the participants-bc service:
npm run start
  1. Run the integration tests:
npm run test:integration

Troubleshoot

Unable to load dlfcn_load:

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

Fix: auth0/node-jsonwebtoken#826 export OPENSSL_CONF=/dev/null