Skip to content
Specific Docs
Esc
navigateopen⌘Jpreview
On this page

Durable Workflows

A task queue application demonstrating how to use Temporal for durable workflows, with a local Temporal server in development and Temporal Cloud in production.


Durable Workflows service diagram

How it works

  • Development: Runs a local Temporal server automatically via specific dev
  • Production: Connects to Temporal Cloud using configs and secrets

Run locally

Install prerequisites

Install the Temporal CLI from https://docs.temporal.io/cli

curl -fsSL https://specific.dev/install.sh | sh
git clone https://github.com/specific-dev/examples.git
cd examples/node-workflows
npm install

Start the development server

specific dev

Open the URL shown in the output to schedule tasks and view their status.

Deploy to production

Then deploy:

specific deploy

You will automatically be prompted to input secrets and config values for a Temporal Cloud API Key, namespace and address.

Was this page helpful?