The Temporal Education team is excited to announce the release of several new tutorials published in July! These tutorials cover a range of topics and languages - from showing you how to build interactive applications such as booking systems or subscription-based services to how to deploy and maintain a Temporal Service. Here are the latest tutorials we have created in July:
Build a one-click order application with TypeScript and Next.js
In this tutorial, you'll learn how to enhance an e-commerce application using Workflows with Next.js. By integrating Temporal, you ensure that calls to external services like databases and payment gateways are reliable and fault-tolerant. You'll build a back-end API with Nest API Routes to start a Temporal Workflow and create a user interface with React and Tailwind to interact with the API. By the end, you'll have a functional full-stack example of an order processing system within a Next.js application.
Build a Work Queue Slack App with TypeScript and deploy it to production on DigitalOcean
When building a TypeScript application, you typically develop and test it locally before deploying it to a public cloud provider for production. In this two-part tutorial, you will first build a Work Queue Slack App with TypeScript and Temporal locally using the Temporal CLI. Then, you will deploy it to production on a DigitalOcean Droplet using Temporal Cloud. By the end, you will have created a Slash command Slack App for managing work requests in a Slack channel, leveraging Workflows to manage state without a traditional database.
Build an email drip campaign with Temporal and Java
In this tutorial, you'll build an email drip campaign and a subscription web application using Temporal and Java, leveraging the Spring Boot framework. You'll create a web server to handle user requests and use Temporal Workflows, Activities, and Queries to manage the email subscription process without relying on a separate database or Task Queue. Users can provide their email address to start a new Workflow Execution that simulates sending emails at intervals, check their subscription status using Queries, and unsubscribe by canceling the Workflow Execution. The entire process will be monitored through Temporal's Web UI. By the end of this tutorial, you'll understand how to use Temporal to create and manage long-running Workflows within a web application.
Build a recurring billing subscription workflow with TypeScript
In this tutorial, you'll build backend processes for a phone subscription management application using TypeScript, focusing on the entire subscription lifecycle through command-line programs. Instead of creating a web app or API, you'll interact with Temporal through command-line scripts. You'll define and send Signals to cancel a subscription and update the price. You'll also define and send Queries to retrieve the current state of your subscription details. With these features, you'll be able to write a responsive subscription management application.
Build a trip booking application in Python
When dealing with distributed systems, a single service failure can compromise the entire transaction. The Saga pattern solves this by breaking transactions into smaller steps, each with its own compensation logic for failures. Temporal orchestrates these long-running transactions, ensuring data consistency and automatically handling compensations. In this tutorial, you'll build a Flask API that uses Temporal to manage the booking process for cars, hotels, and flights, ensuring that any failure in the booking process triggers a rollback of previous steps to maintain data integrity.
How to deploy a Temporal Service using an SQLite backend with Nginx
In this tutorial, you'll configure and deploy the Temporal server and UI server binaries, create systemd
unit files for automatic management, and set up an Nginx reverse proxy for web traffic ingress. This setup provides a production-ready Temporal Service with options for future scaling or migration to Temporal Cloud.
How to deploy a Temporal Service using an SQLite backend with Envoy
In this tutorial, you'll configure and deploy the two binaries needed for a complete Temporal Service (the Temporal server and the UI server). You'll create systemd
unit files to gracefully run and restart the Temporal Service automatically upon server startup, and you'll deploy an Envoy edge proxy to handle web traffic ingress. This will give you everything you need to run a production Temporal Service, and evaluate how to scale further or migrate to Temporal Cloud.
How to configure a Temporal Service without a Proxy
In this tutorial, similar to the one above, you'll configure and deploy the two binaries needed for a Temporal Service. However, this approach excludes the use of an additional proxy, and focuses on configuring the Temporal server itself. This will be especially relevant for users wanting to deploy Temporal as part of Kubernetes or another orchestration system.
We hope that you enjoy our July tutorials! For more tutorials and courses, make sure to check out learn.temporal.io.