This is the default project that is scaffolded out when you run npx @temporalio/create@latest ./myfolder
.
The Hello World Tutorial walks through the code in this sample.
- 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 workflow
to run the Workflow Client.
The Workflow should return:
Hello, Temporal!