- Make sure Temporal Server is running locally (see the quick install guide).
npm installto install dependencies.npm run start.watchto start the Worker.- In another shell,
npm run start-workflowto run the Workflow Client - Run
npm run query-workflowto query exchange rates for a given day (today by default)
The Workflow should print out exchange rates for several currencies:
{
AED: 3.673005,
AFN: 86,
ALL: 114.75,
AMD: 460.236151,
ANG: 1.802194,
...
}