github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/docs/gettingstarted/dataexchange.md (about) 1 --- 2 layout: default 3 title: Basic Data Exchange Application 4 parent: Getting Started 5 nav_order: 2 6 --- 7 8 # Basic Data Exchange Application 9 {: .no_toc } 10 11 ## Table of contents 12 {: .no_toc .text-delta } 13 14 1. TOC 15 {:toc} 16 17 --- 18 19 To interact programmatically with some of the core FireFly APIs, we recommend trying out the fully-baked [FireFly Data Exchange](https://github.com/hyperledger-labs/firefly-dataexchange-https) application. The available README contains straightforward instructions for generating the required configs and associated x509 certificates + metadata. However, for an even smoother experience you can simply: 20 21 * Clone the repo and build the packages - `npm run build` 22 - This will in turn generate two member identities, along with the required PKI material, for immediate usage - `Member-A` & `Member-B` 23 * Using an interactive IDE like Visual Studio, import the updated project and kick off the program for each member - `Member-A` & `Member-B` 24 * `Member-A`'s interactive Swagger is accessible locally on port 3000 25 * `Member-B`'s interactive Swagger is accessible locally on port 4000 26 27 If you see "Unauthorized" responses within the Swagger instance or through a REST client, be sure to update the API key value: 28 29 * In Swagger - click "Authorize" at the top of the screen and input `xxxxx` as the api key. 30 * Via a REST client - create an `x-api-key` header with `xxxxx` as the value