{"id":26668678,"url":"https://github.com/rvansant2/nodejs-rabbitmq","last_synced_at":"2026-02-18T15:02:07.843Z","repository":{"id":284377574,"uuid":"954695187","full_name":"rvansant2/nodejs-rabbitmq","owner":"rvansant2","description":"A simple example and demonstration of RabbitMQ with nodejs.","archived":false,"fork":false,"pushed_at":"2025-03-25T15:03:54.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T16:21:45.758Z","etag":null,"topics":["docker","docker-compose","nodejs","rabbitmq","rabbitmq-consumer","rabbitmq-producer"],"latest_commit_sha":null,"homepage":"","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/rvansant2.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":"2025-03-25T13:29:42.000Z","updated_at":"2025-03-25T15:05:18.000Z","dependencies_parsed_at":"2025-03-25T16:21:52.628Z","dependency_job_id":"f7c63f79-64af-445d-9c43-581a942636c0","html_url":"https://github.com/rvansant2/nodejs-rabbitmq","commit_stats":null,"previous_names":["rvansant2/nodejs-rabbitmq"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvansant2%2Fnodejs-rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvansant2%2Fnodejs-rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvansant2%2Fnodejs-rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvansant2%2Fnodejs-rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvansant2","download_url":"https://codeload.github.com/rvansant2/nodejs-rabbitmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245545426,"owners_count":20632989,"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":["docker","docker-compose","nodejs","rabbitmq","rabbitmq-consumer","rabbitmq-producer"],"created_at":"2025-03-25T21:26:27.490Z","updated_at":"2026-02-18T15:02:07.815Z","avatar_url":"https://github.com/rvansant2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodejs-RabbitMQ\n\nA simple example and demonstration of RabbitMQ with nodejs, which allows for low latency and complex message distributions. There is a publisher that will iterate over a list of numbers and place them in a proper queue for the approprate consumers to listen to.\n\nThis project was coded a long time ago and has sit on my computer since. I now added some enhancements and best development practices to support extending and expanding this example, if needed.\n\n## Required\n\n- nodejs ^v20.x (for local execution)\n- npm ^10.x.x (for local execution)\n- Docker Desktop\n\n# Get Started\n- Clone repo using the following command `git clone git@github.com:rvansant2/nodejs-rabbitmq.git`.\n- Change into clone repoe directory via command `cd nodejs-rabbitmq`.\n- Copy `.env.example` file as a `.env` file and replace `#FILL_ME_IN` with the appropiate details.\n- Once the `.env` file is created and filled, you can start the application via command `docker compose up --build`.\n- A local `logs` directory will be created and you can see the outputs of the application.\n    - The `publisher.log` should output where each number will be published to which queue based on the odd/even evaluation logic.\n    - The `consumer-odd.log` and `consumer-even.log` should receive the appropriate distributed published messages from their appropriate queues.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvansant2%2Fnodejs-rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvansant2%2Fnodejs-rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvansant2%2Fnodejs-rabbitmq/lists"}