Building a Delivery Workflow with TypeScript (TS)
Blog post from Orkes
Conductor, an open-source microservice and workflow orchestration framework, effectively orchestrates the delivery process by breaking it down into individual workflow blocks. This article illustrates how to use Conductor to build a food delivery app where the application connects clients to the nearest available riders by fetching a list of registered riders and allowing them to compete for the delivery task. The guide walks through setting up a project using the Orkes Developer Edition, creating workflows such as calculating distances using Taxicab geometry, finding nearby riders, and selecting the most suitable rider for delivery. Additionally, it details the process of integrating various tasks like JSON transformations, HTTP tasks, and dynamic forking to manage and execute these workflow components. The culmination involves combining all these elements into a comprehensive delivery app workflow that calculates delivery costs based on the payment method, demonstrating Conductor's capability to streamline complex processes with modular, scalable, and easily adjustable workflows.