{"id":19408932,"url":"https://github.com/4lessandrodev/amqp-direct","last_synced_at":"2026-06-13T12:33:18.540Z","repository":{"id":105005169,"uuid":"589354217","full_name":"4lessandrodev/amqp-direct","owner":"4lessandrodev","description":"Testando a conexão direta com amqp","archived":false,"fork":false,"pushed_at":"2023-01-16T02:08:48.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T02:18:05.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/4lessandrodev.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":"2023-01-15T22:14:43.000Z","updated_at":"2023-01-15T22:15:59.000Z","dependencies_parsed_at":"2023-12-01T02:15:11.821Z","dependency_job_id":null,"html_url":"https://github.com/4lessandrodev/amqp-direct","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4lessandrodev/amqp-direct","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lessandrodev%2Famqp-direct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lessandrodev%2Famqp-direct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lessandrodev%2Famqp-direct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lessandrodev%2Famqp-direct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4lessandrodev","download_url":"https://codeload.github.com/4lessandrodev/amqp-direct/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lessandrodev%2Famqp-direct/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34285190,"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-13T02:00:06.617Z","response_time":62,"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-10T12:08:44.837Z","updated_at":"2026-06-13T12:33:18.511Z","avatar_url":"https://github.com/4lessandrodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testando rabbitmq - Sem Framework\n\nConexão direta com amqp sem usar nenhum framework\n\n![Exemplo](exchanges.png)\n\n\u003e Referência: [Documentação](https://www.rabbitmq.com/tutorials/tutorial-three-javascript.html)\n\n---\n\n## Rodar o projeto\n\nRequisitos:\n\n- NodeJS V14+ [here](https://nodejs.org/en/download/)\n- yarn [here](https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable)\n- docker [here](https://docs.docker.com/engine/install/ubuntu/)\n- docker-compose [here](https://docs.docker.com/compose/install/)\n- linux, wsl or mac\n- build-essentials [here](https://linuxhint.com/install-build-essential-ubuntu/)\n\n---\n\n### Primeiros passos\n\nClone o projeto e exetute os passos\n\n- Installar as dependências\n\n```sh\n\n    make install\n\n```\n\n- Iniciar o projeto\n\n```sh\n\n    make start\n\n```\n\n- Visualizar logs\n\n```sh\n\n    make logs\n\n```\n\n- Parar o projeto\n\n```sh\n\n    make stop\n\n```\n\n- Deletar apps\n\n```sh\n\n    make delete\n\n```\n\nEnviando dados para a routing-key-01\n\n```sh\n\ncurl --location --request POST 'http://localhost:4000/1' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"some\": \"any data to route 1\"\n}'\n\n```\n\nEnviando dados para a routing-key-02\n\n```sh\n\ncurl --location --request POST 'http://localhost:4000/2' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"some\": \"any data to route 2\"\n}'\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4lessandrodev%2Famqp-direct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4lessandrodev%2Famqp-direct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4lessandrodev%2Famqp-direct/lists"}