# 10 - Client Application

In this section we create a quick little client application that will start a transaction, and then - if necessary - poll the server for the status, until the transaction completes.

  1. Create a new folder myProject/util-vsc/client-app.

  2. Copy COURSE-FILES/2.10-application-client/app.js into that folder.

  3. Start the app in a VSCode terminal:

cd /workspace/myProject/util-vsc/client-application
node app.js
1
2

In the output you can see the initial call to start the transaction, followed by polling calls to get the transaction status.

Extra Challenge

  1. Try changing the client to call other pipelines.
  2. Try starting transactions with the default transaction starting URL, shown when you start the server.

Deployed on Github Pages.
Last updated: 2023-05-17, 15:37:23 UTC