{"id":19721621,"url":"https://github.com/anoopsimon/bank-buddy-temporal-workflow","last_synced_at":"2026-06-11T12:31:16.943Z","repository":{"id":261035801,"uuid":"883035963","full_name":"anoopsimon/bank-buddy-temporal-workflow","owner":"anoopsimon","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-05T10:49:33.000Z","size":14098,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T00:23:24.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/anoopsimon.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-04T09:13:07.000Z","updated_at":"2024-11-05T10:49:37.000Z","dependencies_parsed_at":"2025-02-27T18:44:56.029Z","dependency_job_id":"84ae15a9-cb52-426a-8f5d-2d6cca72293b","html_url":"https://github.com/anoopsimon/bank-buddy-temporal-workflow","commit_stats":null,"previous_names":["anoopsimon/bank-buddy-temporal-workflow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anoopsimon/bank-buddy-temporal-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopsimon%2Fbank-buddy-temporal-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopsimon%2Fbank-buddy-temporal-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopsimon%2Fbank-buddy-temporal-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopsimon%2Fbank-buddy-temporal-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anoopsimon","download_url":"https://codeload.github.com/anoopsimon/bank-buddy-temporal-workflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopsimon%2Fbank-buddy-temporal-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34199516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-11T23:14:57.543Z","updated_at":"2026-06-11T12:31:16.928Z","avatar_url":"https://github.com/anoopsimon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Temporal\n\n\n# Temporal Customer Creation Workflow\n\nThis project demonstrates a simple Temporal workflow to simulate customer creation tasks in a bank. The workflow includes multiple activities that represent common post-creation processes, such as account initialization and welcome package delivery.\n\n\n## Tech Stack\n\n| Tool                                                                 | Description                                        |\n|----------------------------------------------------------------------|----------------------------------------------------|\n| \u003cimg alt=\"Go\" src=\"https://img.shields.io/badge/-Go-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\" /\u003e | Programming Language                               |\n| \u003cimg alt=\"Docker\" src=\"https://img.shields.io/badge/-Docker-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white\" /\u003e | Containerization Platform                           |\n| \u003cimg alt=\"Docker Compose\" src=\"https://img.shields.io/badge/-Docker%20Compose-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white\" /\u003e | Tool for defining and running multi-container applications |\n| \u003cimg alt=\"Temporal\" src=\"https://img.shields.io/badge/-Temporal-00B3B3?style=for-the-badge\u0026logo=temporal\u0026logoColor=white\" /\u003e | Workflow Orchestration Tool                        |\n| \u003cimg alt=\"Ginkgo\" src=\"https://img.shields.io/badge/-Ginkgo-00C4A1?style=for-the-badge\u0026logo=ginkgo\u0026logoColor=white\" /\u003e | BDD Testing Framework                              |\n| \u003cimg alt=\"Gomega\" src=\"https://img.shields.io/badge/-Gomega-00C4A1?style=for-the-badge\u0026logo=gomega\u0026logoColor=white\" /\u003e | Matcher library for Go tests                       |\n\n\n## Prerequisites\n\nBefore running the project, make sure you have the following installed:\n\n- **Go** (version 1.17 or higher): [Download Go](https://golang.org/dl/)\n- **Docker**: [Download Docker](https://www.docker.com/get-started)\n- **Docker Compose**: Typically included with Docker Desktop. Verify installation by running `docker-compose --version`.\n- **Make**: Optional: If you want to run infra and tests without using docker commands . Install from internet and run command to verify. `make --version`.\n\n## Setting Up Temporal with Docker Compose\n\nTo spin up a Temporal server and UI using Docker Compose, use the following setup:\n\n1. Start Temporal services with:\n\n   ```bash\n   docker-compose up --build -d\n   # Alternatively use make command\n   make infra.start\n   ```\nFollowing services will be running in inside the container\n```js\n[+] Running 6/6\n ✔ Container temporal-elasticsearch  Running                                                                                                                    0.0s \n ✔ Container temporal-postgresql     Running                                                                                                                    0.0s \n ✔ Container temporal                Running                                                                                                                    3.8s \n ✔ Container temporal-worker         Running                                                                                                                    0.4s \n ✔ Container temporal-admin-tools    Running                                                                                                                    1.5s \n ✔ Container temporal-ui             Running \n   ```\n\n3. Access the Temporal UI by navigating to [Temporal UI](http://localhost:8080) in your web browser.\n\n## Scope of the Temporal Workflow\n\nThe `CustomerCreationWorkflow` workflow performs the following activities as part of the customer creation process:\n\n1. **InitializeAccountActivity**: Initializes the customer's account with basic information.\n2. **SendWelcomePackageActivity**: Sends a welcome package to the new customer.\n3. **SetUpDirectDepositActivity**: Configures direct deposit for the customer.\n4. **ActivateDebitCardActivity**: Activates a debit card linked to the customer's account.\n\nThese activities are managed in a sequence within the Temporal workflow.\n\n## Test Suite\n\nThe project includes a Ginkgo test suite to validate the workflow’s functionality. The test suite is located in the `test/` directory.\n\n### Installing the Ginkgo Tool\n\nTo install the Ginkgo CLI tool, run:\n\n```bash\ngo install github.com/onsi/ginkgo/v2/ginkgo@latest\n```\n\n### Running Tests\n\nTo run the Ginkgo tests, use the following command from the project root:\n\n```bash\nginkgo --json-report=test-results.json test -environment=qa\n# or if you are using make command\nmake test\n```\n\nSample output:\n\n```plaintext\nPS C:\\Users\\s4514\\dev\\go\\bank-buddy-temporal-workflowe\u003e ginkgo -r test/\nRunning Suite: CustomerCreationWorkflow Suite - C:\\Users\\s4514\\dev\\go\\bank-buddy-temporal-workflow\\test\n=========================================================================================\nRandom Seed: 1730705962\n\nWill run 1 of 1 specs\n2024/11/04 18:40:36 INFO  No logger configured for temporal client. Created default one.\n+\n\nRan 1 of 1 Specs in 0.811 seconds\nSUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped\nPASS\n\nGinkgo ran 1 suite in 1m14.8897583s\nTest Suite Passed\n```\n\nThis verifies that the `CustomerCreationWorkflow` executes successfully and completes all activities as expected.\n\n### Temporal workflow screenshot\n![Temporal Workflow](doc/img/workflow_scr.png)\n\n\n### Containers\n![Temporal Workflow](doc/img/containers.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopsimon%2Fbank-buddy-temporal-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanoopsimon%2Fbank-buddy-temporal-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopsimon%2Fbank-buddy-temporal-workflow/lists"}