{"id":18283019,"url":"https://github.com/zentered/hemera-nats-demo","last_synced_at":"2025-04-05T06:30:51.094Z","repository":{"id":88814509,"uuid":"123252015","full_name":"zentered/hemera-nats-demo","owner":"zentered","description":"Service to Service communication with Hemera and NATS","archived":true,"fork":false,"pushed_at":"2018-03-25T12:40:05.000Z","size":425,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-02T23:05:58.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zentered.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-02-28T08:14:54.000Z","updated_at":"2023-11-09T17:19:46.000Z","dependencies_parsed_at":"2023-06-05T16:00:38.613Z","dependency_job_id":null,"html_url":"https://github.com/zentered/hemera-nats-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentered%2Fhemera-nats-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentered%2Fhemera-nats-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentered%2Fhemera-nats-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentered%2Fhemera-nats-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zentered","download_url":"https://codeload.github.com/zentered/hemera-nats-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299766,"owners_count":20916183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-05T13:07:00.733Z","updated_at":"2025-04-05T06:30:51.088Z","avatar_url":"https://github.com/zentered.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hemera NATS Demo\n![example sequence](example.png)\n\nThis is an example accompanying an article published here:\n\nhttps://medium.com/heneise/service-to-service-communication-with-hemera-and-nats-d3cbf0727ef8\n\n## Requirements\n\n- Docker Compose\n\n## Setup \u0026 Startup\n\n    git clone https://github.com/heneise/hemera-nats-demo.git\n    cd hemera-nats-demo\n    docker-compose up\n\n## Querying the API\n\n    # Put products into the cart\n    curl \\\n      -XPOST localhost:3000/cart \\\n      -H \"Content-Type: application/json\" \\\n      -d '{\"productId\":0, \"quantity\":1}'\n    curl \\\n      -XPOST localhost:3000/cart \\\n      -H \"Content-Type: application/json\" \\\n      -d '{\"productId\":2, \"quantity\":5}'\n    # Retrieve the cart\n    curl localhost:3000\n\n## Thanks\n\nSpecial thanks to [the team behind NATS](https://github.com/orgs/nats-io/people) and [Dustin Deus](https://github.com/StarpTech), the author of [hemera](https://github.com/hemerajs/hemera).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzentered%2Fhemera-nats-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzentered%2Fhemera-nats-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzentered%2Fhemera-nats-demo/lists"}