Skip to main content

Example Applications

Explore example applications and code samples that use Temporal and gain a clearer understanding of how everything fits together.

Reference applications

Reference applications are fully documented, end-to-end solutions that show how to use Temporal for a particular use case. If you're new to Temporal, these are a great place to start to understand its capabilities.

Example applications

While not intended for production use, Example Applications can nonetheless be useful for seeing Temporal in action for particular use cases and architectural design patterns.

Use cases

  • Order Fulfillment [TypeScript] A Temporal workflow for a sample e-commerce order fulfillment use case. This demo showcases Temporal's powerful durability and interactive capabilities. See companion video.
  • Money Transfer [Java] [TypeScript] demonstrates core value propositions of Temporal. A custom UI allows users to choose from a number of simulated failure scenarios and use of Temporal primitives such as signals and schedules.
  • Orchestrate Lambda Functions [TypeScript] A Temporal version of the AWS Step Functions: Lambda orchestration example which uses Lambda functions to check a stock price and determine a buy or sell trading recommendation.

Design patterns

  • Entity Workflow demo [Go] The purpose of this demo is to illustrate some of the interesting properties of the Entity Lifecycle Pattern (aka Entity Workflows). See companion slide deck on Long-running workflows.
  • Order Saga sample [Java] Demonstrates Temporal's enhanced support for the Saga pattern, supporting recovery from failed transactions. See this companion video to see a demonstration of the example.

Data encryption

See the Codec Server documentation for more information.

  • Codec Server with JWT validation [TypeScript] The codec server uses JSON Web Tokens (JWT) to confirm the authenticity of JWTs issued by Temporal Cloud.
  • Codec CORS credentials [Go] An implementation of a Temporal Codec Server that supports Cross-Origin Resource Sharing (CORS), and specifically CORS requests with credentials.

Samples

Samples are more targeted examples that showcase particular Temporal features or common patterns.

More examples coming soon.