- Make sure Temporal Server is running locally (see the quick install guide).
npm install
to install dependencies.npm run start.watch
to start the Worker.- In another shell,
npm run start-workflow
to run the Workflow Client - Run
npm run query-workflow
to 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,
...
}