open-index/open-npm huggingface dataset:
npm package: @mojaloop/platform-shared-lib-observability-client-lib
Description: mojaloop vnext platform shared libraries - public observability client lib
Latest version: 0.5.11

# Mojaloop vNext - Platform Shared Libraries - Observability Client Library

[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/platform-shared-lib.svg?style=flat)](https://github.com/mojaloop/platform-shared-lib/commits/master)
[![Npm Version](https://img.shields.io/npm/v/@mojaloop/platform-shared-lib-observability-client-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib-public-metrics-lib)
[![NPM Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@mojaloop/platform-shared-lib-observability-client-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib-observability-client-lib)
[![CircleCI](https://circleci.com/gh/mojaloop/platform-shared-lib.svg?style=svg)](https://circleci.com/gh/mojaloop/platform-shared-lib)

EXPERIMENTAL vNext Platform - Observability client lib, implementation for prometheus metrics and other health checks

> **⚠️ IMPORTANT STATUS NOTE:**
>
> **This package is currently not used within the platform-shared-lib monorepo and has outdated dependencies dating back to 2021.**
>
> - **Tests are currently skipped** due to TypeScript compilation errors caused by incompatible OpenTelemetry package versions
> - **Coverage thresholds are set to 0** in jest.config.js
> - The package uses OpenTelemetry packages version ~0.24.0 to ~0.51.0 which have breaking API changes with current versions
> - **Compilation errors** in `src/tracing.ts` prevent the package from building successfully
>
> This package is only published for potential external consumption but requires significant dependency updates before it can be properly maintained.

**Note:** This library HAS specific implementation details and dependencies and **CANNOT be included in domain code**. In domain code, please use the interfaces published in `@mojaloop/platform-shared-lib-observability-types-lib`
npm package: @mojaloop/platform-shared-lib-observability-types-lib
Description: mojaloop vnext platform shared libraries - public observability types lib
Latest version: 0.5.10

# Mojaloop vNext - Platform Shared Libraries - Observability Types Library

[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/platform-shared-lib.svg?style=flat)](https://github.com/mojaloop/platform-shared-lib/commits/master)
[![Npm Version](https://img.shields.io/npm/v/@mojaloop/platform-shared-lib-observability-types-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib-public-metrics-lib)
[![NPM Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@mojaloop/platform-shared-lib-observability-types-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib-observability-types-lib)
[![CircleCI](https://circleci.com/gh/mojaloop/platform-shared-lib.svg?style=svg)](https://circleci.com/gh/mojaloop/platform-shared-lib)

EXPERIMENTAL vNext Platform - Public observability types lib, for all publicly available observability types, includes metrics and health checks

**Note:** This library has no implementation details or dependencies and can be included in domain code.
npm package: @mojaloop/platform-shared-lib-public-messages-lib
Description: mojaloop vnext platform shared libraries - public messages lib
Latest version: 0.7.6

# Mojaloop vNext - Platform Shared Libraries - Public Messages Library

[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/platform-shared-lib.svg?style=flat)](https://github.com/mojaloop/platform-shared-lib/commits/master)
[![Npm Version](https://img.shields.io/npm/v/@mojaloop/platform-shared-lib-public-messages-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib-public-messages-lib)
[![NPM Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@mojaloop/platform-shared-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/platform-shared-lib)
[![CircleCI](https://circleci.com/gh/mojaloop/platform-shared-lib.svg?style=svg)](https://circleci.com/gh/mojaloop/platform-shared-lib)

EXPERIMENTAL vNext Platform - Public message libs, for all publicly avaliable domain messages
npm package: @mojaloop/reporting-bc-participants-reporting-svc
Description: mojaloop participants reporting service
Latest version: 0.3.19

# Reporting BC - Participants Reporting Service

#Notes

### Install
See notes in root dir of this repository

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

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:
```bash
npm run modules/participants-reporting-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```

## Configuration 

### Environment variables

| Environment Variable | Description    | Example Values         |
|---------------------|-----------------|-----------------------------------------|
| PRODUCTION_MODE      | Flag indicating production mode   | FALSE                  |
| LOG_LEVEL            | Logging level for the application                  | LogLevel.DEBUG        |
| AUTH_N_SVC_BASEURL | Authentication service base URL  |http://localhost:3201|
| AUTH_N_TOKEN_ISSUER_NAME    | Authentication service token issuer name           |   mojaloop.vnext.dev.default_issuer    |
| AUTH_N_TOKEN_AUDIENCE        | Authentication service token audience    |    mojaloop.vnext.dev.default_audience   |
| AUTH_N_SVC_JWKS_URL  | Authentication service base URL    | http://authentication-svc:3201         |
| AUTH_Z_SVC_BASEURL   | Authorization service base URL    | http://authorization-svc:3202           |
| KAFKA_URL       | Kafka broker URL     | localhost:9092          |
| MONGO_URL            | MongoDB connection URL             | mongodb://root:mongoDbPas42@localhost:27017/ |
| KAFKA_LOGS_TOPIC      | Kafka topic for logs          | logs    |
| KAFKA_AUDITS_TOPIC        | Kafka topic for audits              | audits                 |
| AUDIT_KEY_FILE_PATH  | File path for audit key           | /app/data/audit_private_key.pem         |
| SVC_CLIENT_ID        | Service client ID                 | reporting-bc-participants-reporting-svc              |
| SVC_CLIENT_SECRET    | Service client secret             | superServiceSecret     |
| SVC_DEFAULT_HTTP_PORT                 | Default HTTP port for the service                  | 5002  |
| SERVICE_START_TIMEOUT_MS               | Timeout for service startup in milliseconds        | 60_000                 |
| PARTICIPANTS_SVC_URL | Participant Service URL | "http://localhost:3010" |
npm package: @mojaloop/reporting-bc-quotes-reporting-svc
Description: mojaloop quotes reporting service
Latest version: 0.3.19

# Reporting BC - Quote Reporting Service

#Notes

### Install
See notes in root dir of this repository

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

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:
```bash
npm run modules/quotes-reporting-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```

## Configuration 

### Environment variables

| Environment Variable | Description    | Example Values         |
|---------------------|-----------------|-----------------------------------------|
| PRODUCTION_MODE      | Flag indicating production mode   | FALSE                  |
| LOG_LEVEL            | Logging level for the application                  | LogLevel.DEBUG        |
| AUTH_N_SVC_BASEURL | Authentication service base URL  |http://localhost:3201|
| AUTH_N_TOKEN_ISSUER_NAME    | Authentication service token issuer name           |   mojaloop.vnext.dev.default_issuer    |
| AUTH_N_TOKEN_AUDIENCE        | Authentication service token audience    |    mojaloop.vnext.dev.default_audience   |
| AUTH_N_SVC_JWKS_URL  | Authentication service base URL    | http://authentication-svc:3201         |
| AUTH_Z_SVC_BASEURL   | Authorization service base URL    | http://authorization-svc:3202           |
| KAFKA_URL       | Kafka broker URL     | localhost:9092          |
| MONGO_URL            | MongoDB connection URL             | mongodb://root:mongoDbPas42@localhost:27017/ |
| KAFKA_LOGS_TOPIC      | Kafka topic for logs          | logs    |
| AUDIT_KEY_FILE_PATH  | File path for audit key           | /app/data/audit_private_key.pem         |
| SVC_CLIENT_ID        | Service client ID                 | reporting-bc-quotes-reporting-svc          |
| SVC_CLIENT_SECRET    | Service client secret             | superServiceSecret     |
| SVC_DEFAULT_HTTP_PORT                 | Default HTTP port for the service                  | 5003  |
| SERVICE_START_TIMEOUT_MS               | Timeout for service startup in milliseconds        | 60_000                 |
| PARTICIPANTS_SVC_URL | Participant Service URL | "http://localhost:3010" |
npm package: @mojaloop/reporting-bc-reporting-api-svc
Description: mojaloop reporting api service
Latest version: 0.3.42

# Reporting Bounded Context - Reporting Service


#Notes

### Install
See notes in root dir of this repository

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

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:
```bash
npm run modules/example-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```

## Configuration 

### Environment variables

| Environment Variable | Description    | Example Values         |
|---------------------|-----------------|-----------------------------------------|
| PRODUCTION_MODE      | Flag indicating production mode   | FALSE                  |
| LOG_LEVEL            | Logging level for the application                  | LogLevel.DEBUG        |
| AUTH_N_SVC_BASEURL | Authentication service base URL  |http://localhost:3201|
| AUTH_N_TOKEN_ISSUER_NAME    | Authentication service token issuer name           |   mojaloop.vnext.dev.default_issuer    |
| AUTH_N_TOKEN_AUDIENCE        | Authentication service token audience    |    mojaloop.vnext.dev.default_audience   |
| AUTH_N_SVC_JWKS_URL  | Authentication service base URL    | http://authentication-svc:3201         |
| AUTH_Z_SVC_BASEURL   | Authorization service base URL    | http://authorization-svc:3202           |
| KAFKA_URL       | Kafka broker URL     | localhost:9092          |
| MONGO_URL            | MongoDB connection URL             | mongodb://root:mongoDbPas42@localhost:27017/ |
| KAFKA_LOGS_TOPIC      | Kafka topic for logs          | logs    |
| KAFKA_AUDITS_TOPIC        | Kafka topic for audits              | audits                 |
| AUDIT_KEY_FILE_PATH  | File path for audit key           | /app/data/audit_private_key.pem         |
| SVC_CLIENT_ID        | Service client ID                 | reporting-bc-reporting-api-svc              |
| SVC_CLIENT_SECRET    | Service client secret             | superServiceSecret     |
| SVC_DEFAULT_HTTP_PORT                 | Default HTTP port for the service                  | 5000  |
| SERVICE_START_TIMEOUT_MS               | Timeout for service startup in milliseconds        | 60_000                 |
npm package: @mojaloop/reporting-bc-settlements-reporting-svc
Description: mojaloop settlements reporting service
Latest version: 0.3.21

# Reporting BC - Settlements Reporting Service

#Notes

### Install
See notes in root dir of this repository

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

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:
```bash
npm run modules/settlements-reporting-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```

## Configuration 

### Environment variables

| Environment Variable | Description    | Example Values         |
|---------------------|-----------------|-----------------------------------------|
| PRODUCTION_MODE      | Flag indicating production mode   | FALSE                  |
| LOG_LEVEL            | Logging level for the application                  | LogLevel.DEBUG        |
| AUTH_N_SVC_BASEURL | Authentication service base URL  |http://localhost:3201|
| KAFKA_URL       | Kafka broker URL     | localhost:9092          |
| MONGO_URL            | MongoDB connection URL             | mongodb://root:mongoDbPas42@localhost:27017/ |
| KAFKA_LOGS_TOPIC      | Kafka topic for logs          | logs    |
| SVC_CLIENT_ID        | Service client ID                 | reporting-bc-settlements-reporting-svc          |
| SVC_CLIENT_SECRET    | Service client secret             | superServiceSecret     |
| SVC_DEFAULT_HTTP_PORT                 | Default HTTP port for the service                  | 5004  |
| SERVICE_START_TIMEOUT_MS               | Timeout for service startup in milliseconds        | 60_000                 |
| SETTLEMENT_SVC_URL | Settlement Service URL | "http://localhost:3600" |
npm package: @mojaloop/reporting-bc-transfers-reporting-svc
Description: mojaloop transfers reporting service
Latest version: 0.3.15

# Reporting BC - Transfers Reporting Service

#Notes

### Install
See notes in root dir of this repository

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

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:
```bash
npm run modules/transfers-reporting-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```

## Configuration 

### Environment variables

| Environment Variable | Description    | Example Values         |
|---------------------|-----------------|-----------------------------------------|
| PRODUCTION_MODE      | Flag indicating production mode   | FALSE                  |
| LOG_LEVEL            | Logging level for the application                  | LogLevel.DEBUG        |
| KAFKA_URL       | Kafka broker URL     | localhost:9092          |
| MONGO_URL            | MongoDB connection URL             | mongodb://root:mongoDbPas42@localhost:27017/ |
| KAFKA_LOGS_TOPIC      | Kafka topic for logs          | logs    |
| SVC_CLIENT_ID        | Service client ID                 | reporting-bc-transfers-reporting-svc          |
| SVC_CLIENT_SECRET    | Service client secret             | superServiceSecret     |
| SVC_DEFAULT_HTTP_PORT                 | Default HTTP port for the service                  | 5001  |
| SERVICE_START_TIMEOUT_MS               | Timeout for service startup in milliseconds        | 60_000                 |
| SETTLEMENT_SVC_URL | Settlement Service URL | "http://localhost:3600" | 
| CONSUMER_BATCH_SIZE | Kafka Consumer Batch Size | 50 
| CONSUMER_BATCH_TIMEOUT_MS | Kafka Consumer Batch Timeout Milliseconds | 50
npm package: @mojaloop/reporting-hub-bop-experience-api-svc
Description: Experience API for business operations framework
Author: Mojaloop
Latest version: 2.0.9

## Mojaloop Business Operations Framework Experience API 
[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/reporting-hub-bop-experience-api-svc.svg?style=flat)](https://github.com/mojaloop/reporting-hub-bop-experience-api-svc/commits/master)
[![Git Releases](https://img.shields.io/github/release/mojaloop/reporting-hub-bop-experience-api-svc.svg?style=flat)](https://github.com/mojaloop/reporting-hub-bop-experience-api-svc/releases)
[![CircleCI](https://circleci.com/gh/mojaloop/reporting-hub-bop-experience-api-svc.svg?style=svg)](https://circleci.com/gh/mojaloop/reporting-hub-bop-experience-api-svc)

## Introduction

This is an API for experience layer which is a part of the [Business Operations Framework](https://docs.mojaloop.io/mojaloop-business-docs/).

## Runtime Configuration

Runtime configuration is handled by `rc`, and can be specified using either Environment Variables, or a `.json` file.

See [`./config/default.json`](./config/default.json) for an example config file.

When setting configuration using environment variables, the `BOP_EXPERIENCE_API` environment variable prefix is required.

For example to set a configuration variable 'ORY_KETO_READ_SERVICE_URL', we need to pass the environment variable like this `BOP_EXPERIENCE_API_ORY_KETO_READ_SERVICE_URL`.

See [`src/shared/config.ts`](src/shared/config.ts) to understand how these variables are configured.

### Key Config Options

| Variable Name | Description | Default Value |
| -------------------- | ----------- | ------ |
| CENTRAL_ADMIN_URL | Central Admin Service URL | http://central-ledger:3001
| CENTRAL_SETTLEMENTS_URL | Central Settlements Service URL | http://central-settlements:3001


> ***Note:** See [`./config/default.json`](./config/default.json) for all available config options, and their default values.*

## Setup for developer

### Clone repo
```bash
git clone git@github.com:mojaloop/reporting-hub-bop-experience-api-svc.git
```

### Install service dependencies
```bash
cd reporting-hub-bop-experience-api-svc
npm ci
```

### Run the service with NPM locally
```bash
npm run startDev
```
npm package: @mojaloop/scheduling-bc-command-handler-svc
Description: Mojaloop Scheduling-bc Command Handler Service
Latest version: 0.0.4

# Scheduling Bounded Context - Command Handler Service

### Install

See notes in root dir of this repository
More information on how to install NVM: https://github.com/nvm-sh/nvm

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:

```bash
npm run packages/command-handler-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```
npm package: @mojaloop/scheduling-bc-event-handler-svc
Description: Mojaloop Scheduling-bc Event Handler service
Latest version: 0.0.4

# Scheduling Bounded Context - Event Handler Service

### Install

See notes in root dir of this repository
More information on how to install NVM: https://github.com/nvm-sh/nvm

## Build

```bash
npm run build
```

## Run this service

Anywhere in the repo structure:

```bash
npm run packages/event-handler-svc start
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```

## Integration Tests

```bash
npm run test:integration
```
npm package: @mojaloop/sdk-standard-components
Description: A set of standard components for connecting to Mojaloop API enabled Switches
Author: James Bush, ModusBox Inc.
Latest version: 19.18.8

[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/sdk-standard-components.svg?style=flat)](https://github.com/mojaloop/sdk-standard-components/commits/master)
[![Git Releases](https://img.shields.io/github/release/mojaloop/sdk-standard-components.svg?style=flat)](https://github.com/mojaloop/sdk-standard-components/releases)
[![Npm Version](https://img.shields.io/npm/v/@mojaloop/sdk-standard-components.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/sdk-standard-components)
[![NPM Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@mojaloop/sdk-standard-components.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/sdk-standard-components)
[![CircleCI](https://circleci.com/gh/mojaloop/sdk-standard-components.svg?style=svg)](https://circleci.com/gh/mojaloop/sdk-standard-components)

# Mojaloop DFSP SDK Standard Components

This package contains a set of components that encode standard practices for enabling the following features of a DFSP to Mojaloop switch interface:

## Usage

```
npm install @mojaloop/sdk-standard-components
```

 1. JWS (JSON Web Signature) - For signing and signature verification
 2. Interledger Protocol - For generating and verifying Interledger message content
 3. Mojaloop Requests - An abstration that simplifies making HTTP requests to Mojaloop API compliant peers demonstrating specification compliant HTTP header handling and JSON Web Signatures
 4. Errors - Mojaloop API specification compliant error helpers

For an example usage of these components please see the Mojaloop SDK Scheme Adapter available [here](http://www.github.com/mojaloop/sdk-scheme-adapter).

For information on the background and context of this project please see the presentation [here](docs/Mojaloop%20-%20Modusbox%20Onboarding%20functionality.pdf)

## Auditing Dependencies

We use `audit-ci` along with `npm audit` to check dependencies for node vulnerabilities, and keep track of resolved dependencies with an `audit-ci.jsonc` file.

To start a new resolution process, run:

```bash
npm run audit:fix
```

You can then check to see if the CI will pass based on the current dependencies with:

```bash
npm run audit:check
```

The [audit-ci.jsonc](./audit-ci.jsonc) contains any audit-exceptions that cannot be fixed to ensure that CircleCI will build correctly.


## Typescript Types

To aid consumers of this library, we are starting to work on adding typescript declarations for the `sdk-standard-components`. This is an incremental process, so please be patient as we gradually add typings to each module.

Types currently live in `./src/index.d.ts`


**Completed Modules**
- `ThirdpartyRequests`
- `OIDCAuth`
- `Logger`
- `request`
- `Errors`

**TODO**
- `Ilp`
- `Jws`
- `MojaloopRequests`
npm package: @mojaloop/security-bc-public-types-lib
Description: mojaloop security public types library
Latest version: 0.6.3

# Security BC - Public Types Library

[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/security-bc.svg?style=flat)](https://github.com/mojaloop/security-bc/commits/master)
[![Git Releases](https://img.shields.io/github/release/mojaloop/security-bc.svg?style=flat)](https://github.com/mojaloop/security-bc/releases)
[![Npm Version](https://img.shields.io/npm/v/@mojaloop/security-bc-public-types-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/security-bc-public-types-lib)
[![NPM Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@mojaloop/security-bc-public-types-lib.svg?style=flat)](https://www.npmjs.com/package/@mojaloop/security-bc-public-types-lib)
[![CircleCI](https://circleci.com/gh/mojaloop/security-bc.svg?style=shield)](https://circleci.com/github/mojaloop/security-bc)

Mojaloop vNext common security types library - types only, no implementations

---

### Install
See nodes in root dir of this repository

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

## Build

```bash
npm run build
```

## Auto build (watch)

```bash
npm run watch
```

## Unit Tests

```bash
npm run test:unit
```
npm package: @mojaloop/thirdparty-api-svc
Description: The thirdparty-api-svc service is used to handle HTTP requests from third parties.
Author: lewisdaly
Latest version: 15.1.6

# thirdparty-api-svc
[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/thirdparty-api-svc.svg?style=flat)](https://github.com/mojaloop/thirdparty-api-svc/commits/main)
[![Git Releases](https://img.shields.io/github/release/mojaloop/thirdparty-api-svc.svg?style=flat)](https://github.com/mojaloop/thirdparty-api-svc/releases)
[![CircleCI](https://circleci.com/gh/mojaloop/thirdparty-api-svc.svg?style=svg)](https://circleci.com/gh/mojaloop/thirdparty-api-svc)

The thirdparty-api-svc service handles HTTP Requests from the Mojaloop Third Party API

## Overview

- [Documentation](./docs/README.md)

## Runtime Configuration

Runtime configuration is handled by `rc`, and can be specified using either Environment Variables, or a `.json` file.

See [`./config/default.json`](./config/default.json) for an example config file. 

When setting configuration using environment variables, the `THIRD_PARTY` environment variable prefix is required. See [`src/shared/config.ts`](src/shared/config.ts) to understand how these variables are configured.

### Key Config Options

> ***Note:** See [`./config/default.json`](./config/default.json) for all available config options, and their default values.*

| Name | Env Var | jsonPath | Description |
| ---- | ------- | -------- | ----------- |
| `PORT` | `THIRD_PARTY_PORT` | `.PORT` | The TCP port the Hapi server should start on |
| `HOST` | `THIRD_PARTY_HOST` | `.HOST` | The hostname the Hapi server should bind to  |
| `ENDPOINT_SERVICE_URL` | `ENDPOINT_SERVICE_URL` | `.ENDPOINT_SERVICE_URL` | The internal service used to retrieve endpoints for Mojaloop Participants. Currently this is the `central-ledger`.  |


## Setup

### Clone repo
```bash
git clone git@github.com:mojaloop/thirdparty-api-svc.git
```

### Improve local DNS resolver
Add the `127.0.0.1   thirdparty-api-svc.local` entry in your `/etc/hosts` so the _thirdparty-api-svc_ is reachable on `http://thirdparty-api-svc.local:3008`. Elsewhere use `http://localhost:3008`

### Install service dependencies
```bash
cd thirdparty-api-svc
npm ci
```

### Run local dockerized _thirdparty-api-svc_
```bash
npm run docker:build
npm run docker:run
```

To check the thirdparty-api-svc health visit [http://thirdparty-api-svc.local:3008/health](http://thirdparty-api-svc.local:3008/health)

## Auditing Dependencies

We use `audit-ci` along with `npm audit` to check dependencies for node vulnerabilities, and keep track of resolved dependencies with an `audit-ci.jsonc` file.

To start a new resolution process, run:

```bash
npm run audit:fix
```

You can then check to see if the CI will pass based on the current dependencies with:

```bash
npm run audit:check
```

The [audit-ci.jsonc](./audit-ci.jsonc) contains any audit-exceptions that cannot be fixed to ensure that CircleCI will build correctly.