Skip to content

jellydn/tempora-saga-demo

Repository files navigation

Welcome to saga pattern demo 👋

Saga pattern demo with Temporal

IT Man - Simplifying the Saga Pattern: A Easy Guide

Pre-requisites

Install

bun install

Usage

bun run dev

Saga Pattern

Saga Pattern

Development

To begin development, install the Temporal CLI:

Mac: brew install temporal Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest

Start Temporal Server:

temporal server start:dev

Start the Temporal Web UI:

Open browser to http://localhost:8233 to see the Temporal Web UI.

Then, in the project directory, using two other shells, run these commands:

bun run start:worker
bun run start:workflow

Demo

Here is an example output with bun run dev.

More detail on saga.

Resources

Author

👤 Dung Huynh

Show your support

Give a ⭐️ if this project helped you!

kofi paypal buymeacoffee