Skip to content

DGAC/nmb2b-client-js-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Quickstart

# 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

About

DGAC NM B2B Client usage example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published