Skip to content

Zyian/temporal-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporal Lab - Food Delivery

A simple combination of CLI + Worker process to replicate a simple food delivery system

Usage

Required Env Variables

Copy sample.env to .env and set the appropriate values to your Temporal instance and namespace

CLI

go build -o cli cmd/order-cli/main.go

Then use:

source .env
./cli order -l
./cli order 2ce0
./cli order-status <uuid>
./cli order-list
./cli pickup <uuid>
./cli deliver <uuid>

Worker

go build -o food-worker cmd/delivery-worker/main.go
source .env
./worker

About

A short lab project to get to know the Temporal system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors