https://github.com/dgac/nmb2b-client-js-example
DGAC NM B2B Client usage example
https://github.com/dgac/nmb2b-client-js-example
Last synced: 7 months ago
JSON representation
DGAC NM B2B Client usage example
- Host: GitHub
- URL: https://github.com/dgac/nmb2b-client-js-example
- Owner: DGAC
- License: mit
- Created: 2018-09-08T10:25:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-08T06:21:19.000Z (almost 2 years ago)
- Last Synced: 2024-06-08T07:29:21.906Z (almost 2 years ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DGAC NM B2B JavaScript client example
This repository contains a simple example project to demonstrate the setup and usage of the [DGAC NM B2B JavaScript client](https://github.com/DGAC/nmb2b-client-js).
# Quickstart
```shell
# Clone this repository
$ git clone git@github.com:DGAC/nmb2b-client-js-example.git b2b-client-example
# Install dependencies
$ cd b2b-client-example
$ pnpm install
# Configure your B2B certificate via .env file
$ rm .env
$ echo 'B2B_FLAVOUR=PREOPS' >> .env
$ echo 'B2B_CERT_FORMAT=pfx' >> .env
$ echo 'B2B_CERT=/path/to/your/b2b/certificate.p12' >> .env
$ echo 'B2B_CERT_PASSPHRASE=MyPassPhrase' >> .env
# Start the example
$ pnpm regulations
```