API service for assigning roles and participants to users.
Runtime configuration is handled by rc
, and can be specified using either Environment Variables, or a .json
file.
See ./config/default.json
for an example config file.
When setting configuration using environment variables, the ROLE_ASSIGNMENT_SERVICE
environment variable prefix is required. See src/shared/config.ts
to understand how these variables are configured.
Note: See
./config/default.json
for all available config options, and their default values.
git clone [email protected]:mojaloop/role-assignment-service.git
Add the 127.0.0.1 role-assignment-service.local
entry in your /etc/hosts
so the role-assignment-service is reachable on http://role-assignment-service.local:3008
. Elsewhere use http://localhost:3008
cd role-assignment-service
npm ci
npm run docker:build
npm run docker:run
To check the role-assignment-service health visit http://role-assignment-service.local:3008/health