This repository contains alternate Temporal (worker & workflow) backend implementations for the Food Delivery App.
The original Food Delivery sample is fully implemented in TypeScript, both the frontend (UI & API server) and the Temporal backend. It is a wonderful example of a full stack application using the Temporal TypeScript SDK. If you have not yet explored that example, please do so along with the excellent companion blog posts:
The frontend apps in this repo are effectively the same as the original Food Delivery App frontends. These are the menu
app and the driver
app. The code has been copied into this repository for convenience, with minimal changes.
To run the frontend apps, see frontend/README.md.
This repository contains multiple alternate backends for the Food Delivery App. Each backend is implemented in a different language and uses the corresponding Temporal SDK for that language.
You will only need to run one of the backends at a time. To pick and run a backend, see backend/README.md.
This sample will work with either the Temporal dev server or Temporal Cloud.
If you are using the Temporal dev server, simply execute the following command to start the server:
temporal server start-dev
You can access the Temporal Web UI at http://localhost:8233.
If using Temporal Cloud, please set the following environment variables:
export TEMPORAL_ADDRESS=<your_namespace>.<your_account>.tmprl.cloud:7233
export TEMPORAL_NAMESPACE=<your_namespace>.<your_account>
export TEMPORAL_TLS_CERT=/path/to/client.crt
export TEMPORAL_TLS_KEY=/path/to/client.key
export TEMPORAL_TLS_KEY_PKCS8=/path/to/pkcs8_client.key
The TEMPORAL_TLS_KEY_PKCS8
environment variable is only required if you are using the Java backend.
You can access the Temporal Web UI at https://cloud.temporal.io