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.
temporal server start-dev
to start Temporal Server.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!