{"id":42187588,"url":"https://github.com/nndd91/cadence-api-example","last_synced_at":"2026-01-26T22:31:14.065Z","repository":{"id":84910595,"uuid":"199571037","full_name":"nndd91/cadence-api-example","owner":"nndd91","description":"The full source code for the article Building your first Cadence Workflow. Check out the article for a detailed walk-through of this repository.","archived":false,"fork":false,"pushed_at":"2020-04-28T15:04:15.000Z","size":24,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-12T05:32:58.545Z","etag":null,"topics":["golang","orchestration","programming","workflow-automation","workflow-engine"],"latest_commit_sha":null,"homepage":"https://medium.com/stashaway-engineering/building-your-first-cadence-workflow-e61a0b29785","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nndd91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-30T03:55:27.000Z","updated_at":"2024-05-01T06:25:07.000Z","dependencies_parsed_at":"2023-07-26T20:00:38.342Z","dependency_job_id":null,"html_url":"https://github.com/nndd91/cadence-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nndd91/cadence-api-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nndd91%2Fcadence-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nndd91%2Fcadence-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nndd91%2Fcadence-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nndd91%2Fcadence-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nndd91","download_url":"https://codeload.github.com/nndd91/cadence-api-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nndd91%2Fcadence-api-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","orchestration","programming","workflow-automation","workflow-engine"],"created_at":"2026-01-26T22:31:13.449Z","updated_at":"2026-01-26T22:31:14.052Z","avatar_url":"https://github.com/nndd91.png","language":"Go","readme":"# Readme\nThe full source code for the article [Building your first Cadence Workflow](https://medium.com/stashaway-engineering/building-your-first-cadence-workflow-e61a0b29785). \nCheck out the article for a detailed walk-through of this repository.\n\n## Running the Server\n\n1. `cd cadenceservice`\n2. `docker-compose up`\n3. Register the `simple-domain` with `docker run --network=host --rm ubercadence/cli:master --do simple-domain domain register --rd 10`\n\n## Worker and API Server\n\nNavigate back to the project root folder. Make sure go is installed in system.\n\n* HttpServer\n    1. `make httpserver`\n    2. `./bins/httpserver`\n\n* Worker\n    1. `make worker`\n    2. `./bins/worker`\n\n## Endpoints\n\n1. To start workflow\n   * POST request to `http://localhost:3030/api/start-hello-world`\n   * Note down the workflow id so you can use it to signal \n\n2. To signal workflow\n    * Copy the workflow id from the previous response or check Cadence UI for the WorkflowID\n    * POST Request to `http://localhost:3030/api/signal-hello-world?workflowId=\u003cworkflowId\u003e\u0026age=25`\n    * Make sure to replace \u003cworkflowId\u003e with the id retrieved from cadence web ui","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnndd91%2Fcadence-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnndd91%2Fcadence-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnndd91%2Fcadence-api-example/lists"}