{"id":20437884,"url":"https://github.com/cristianosfmothe/burger-eats","last_synced_at":"2026-04-15T20:33:10.180Z","repository":{"id":155554429,"uuid":"631123075","full_name":"CristianoSFMothe/burger-eats","owner":"CristianoSFMothe","description":"Teste de API com o Robot Framework usando o MongoDB, RabbitMQ e Mailtrap","archived":false,"fork":false,"pushed_at":"2023-05-03T02:29:27.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T07:20:22.577Z","etag":null,"topics":["api-rest","insomina","python","robotframework"],"latest_commit_sha":null,"homepage":"","language":"RobotFramework","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/CristianoSFMothe.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":"2023-04-22T02:19:48.000Z","updated_at":"2023-05-03T02:31:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"652338c3-b5a4-4177-aa11-e906ec2624ec","html_url":"https://github.com/CristianoSFMothe/burger-eats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CristianoSFMothe/burger-eats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CristianoSFMothe%2Fburger-eats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CristianoSFMothe%2Fburger-eats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CristianoSFMothe%2Fburger-eats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CristianoSFMothe%2Fburger-eats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CristianoSFMothe","download_url":"https://codeload.github.com/CristianoSFMothe/burger-eats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CristianoSFMothe%2Fburger-eats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31859464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["api-rest","insomina","python","robotframework"],"created_at":"2024-11-15T09:08:04.230Z","updated_at":"2026-04-15T20:33:10.165Z","avatar_url":"https://github.com/CristianoSFMothe.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# burger-eats\n\n## Pré-requisitos\n\nPara o correto funcionamento, é necessário seguir algumas configurações.\n\n* Criar conta no \u003ca href=\"https://www.cloudamqp.com/\" target=\"blank\"\u003eCloudAMQP\u003c/a\u003e\n* Criar conta no \u003ca href=\"https://www.mongodb.com/\" target=\"blank\"\u003eMongoDB\u003c/a\u003e\n* Criar um conta no \u003ca href=\"https://mailtrap.io/\" target=\"blank\"\u003eMailtrap\u003c/a\u003e\n\n### Variáveis\n\nNo arquiv `.env` da pasta `api`, inserir as informações de conexão obtidas no cadastro, substituindo onde tem `???` pelo respectivo dado.\n\n```bash\nMONGO_URI=???\nAMQP_URL=???\nQUEUE_NAME=email\nSEND_EMAIL=1\nRECONNECT_TIMEOUT=600\n```\n\nDo `MongoDB` e do `CloudAMQP`.\n\nNo arquiv `.env` da pasta `mailer`, inserir as informações de conexão obtidas no cadastro, substituindo onde tem `???` pelo respectivo dado.\n\n```bash\nAMQP_URL=???\nQUEUE_NAME=email\n\n#SMTP\nHOST=smtp.mailtrap.io\nPORT=2525\nUSER=???\nPASS=???\n```\n\n# Configurando o ambiente\n\nAcessando o site do \u003ca href=\"https://robotframework.org/\" target=\"blank\"\u003eRobot Framework\u003c/a\u003e e dentro dele no menu de *Resources*, temos acessos a todas a Libraries para realizanção do download.\nClicando a Library \u003ca href=\"https://github.com/MarketSquare/robotframework-requests#readme\" target=\"blank\"\u003eHTTP RequestsLibrary (Python), irá direcionar para a página do GitHub para download.\n\n* Instalação\n\n```bash\npip install robotframework-requests\n```\n\nCaso ter algum problema executar o comando.\n\n```bash\npython.exe -m pip install --upgrade pip\n```\n\n* Correção na massa de teste\n\nA aplicação tem uma regra de negocio que não permite cadastrar mais de um parceiro com o mesmo nome, para corrigir isso vamos usar a library \u003ca hreg=\"https://github.com/tarathep/robot-mongodb-library\" target=\"blank\"\u003erobot-mongodb-library\u003c/a\u003e\n\n```bash\npip install robot-mongodb-library\n```\n\n* Modulo Service Mongo\n\n```bash\npip install \"pymongo[srv]\"\n```\n\n## Status Code\n\nPor padrão a library HTTP Requests, só aceita *status code* da família *200*, iy seja sucesso. Para implementar outros tipos de status, é necessário investigar na documentação oficial da \u003ca href=\"https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html\" target=\"blank\"\u003eHTTP Requests Library\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianosfmothe%2Fburger-eats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristianosfmothe%2Fburger-eats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianosfmothe%2Fburger-eats/lists"}