Skip to content

Commit

Permalink
added demo
Browse files Browse the repository at this point in the history
  • Loading branch information
lspahija authored Sep 27, 2024
1 parent 07436ef commit d929416
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down Expand Up @@ -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).
6. Call your workflow, like in [Controller](./example/src/main/java/org/example/api/Controller.java).

0 comments on commit d929416

Please sign in to comment.