A Temporal Version of AWS Step Functions: Lambda orchestration example
A Temporal UI timeline view of a workflow execution
To deploy the demo's Lambda microservices and APIs on your own URL, refer to the deployment readme.
(This step is optional because these services are already publicly hosted at the API_ADDRESS in .env_example)
- Copy the
.env_examplefile to.env.developmentand change settings to match your temporal installation. - Omit CERT_PATH, KEY_PATH, ADDRESS, NAMESPACE to use a local Temporal Server
Run a Temporal Server (Guide)
brew install temporaltemporal server start-dev(Temporal Server web UI: localhost:8233)
npm install
npm run start
npm run worker
- Go to the debug interface:
http://localhost:3000 - The workflow will make a stock trading recommendation based on price then wait for an 'approve' signal.
(Advanced) Debug/replay Workflow histories with the Temporal VSCode Extension
- Open the project root as a VSCode project
- Run the replayer on a downloaded workflow JSON file