The Node.js SDK example helps you to communicate with the Worldline Connect Server API. Its primary features are:
- an overview of all API calls
- examples of POST payloads
- example of how to integrate the SDK in a Node.js environment
- example on how to implement your own logger
See the Worldline Connect Developer Hub for more information on how to use the SDK.
This repository consists out of three main components:
- The webserver
server.js
and/views/
- Example payloads:
/stubs/
- Example logger class:
/util/logger.js
- From the root of the project install all dependencies:
npm install
. - Copy
config.json.dist
toconfig.json
and replace the template values by actual values. - Run
node server.js
- Navigate to
http://localhost:<portnumber>/