From d9294162728c5b094d43d39fac6711b2a1e8274f Mon Sep 17 00:00:00 2001 From: Luka Spahija <44912218+lspahija@users.noreply.github.com> Date: Fri, 27 Sep 2024 05:22:35 -0500 Subject: [PATCH] added demo --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6581399..221db86 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,10 @@ - simple, readable codebase - embedded UI +### Demo + +[![Demo](https://github.com/user-attachments/assets/8b5df22f-7cb5-408f-a3fb-beaf612851a2)](https://youtu.be/f_oNw5Oy7nQ?si=OiquEXXabQX8LQ3t) + ### UI Access the UI simply by navigating to port `8000` after starting your application. No separate deployment needed! @@ -63,4 +67,4 @@ View all of your workflows and workflow events at http://localhost:8000! 3. Create a workflow interface, like [OrderWorkflow](./example/src/main/java/org/example/workflow/OrderWorkflow.java). Include a method annotated with `@WorkflowFunction` in this interface. 4. Implement your workflow, like [OrderWorkflowImpl](./example/src/main/java/org/example/workflow/OrderWorkflowImpl.java). You can call the activities you've created earlier by declaring them as fields and annotating the fields with `@Activity`. 5. Register the workflow implementation and the activity implementations, like in [Config](./example/src/main/java/org/example/config/Config.java). -6. Call your workflow, like in [Controller](./example/src/main/java/org/example/api/Controller.java). \ No newline at end of file +6. Call your workflow, like in [Controller](./example/src/main/java/org/example/api/Controller.java).