{"id":23488549,"url":"https://github.com/bulletdev/bullet-cloud-api","last_synced_at":"2025-04-15T02:53:35.253Z","repository":{"id":264223253,"uuid":"892746197","full_name":"Bulletdev/bullet-cloud-api","owner":"Bulletdev","description":"RESTful Go API for inventory management","archived":false,"fork":false,"pushed_at":"2025-04-15T00:18:09.000Z","size":811,"stargazers_count":12,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T02:53:29.672Z","etag":null,"topics":["api-rest","go","golang"],"latest_commit_sha":null,"homepage":"","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/Bulletdev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":null},"created_at":"2024-11-22T17:40:40.000Z","updated_at":"2025-04-15T00:18:13.000Z","dependencies_parsed_at":"2024-11-22T18:39:15.428Z","dependency_job_id":"6d07d932-8176-4493-addd-8202d0873d99","html_url":"https://github.com/Bulletdev/bullet-cloud-api","commit_stats":null,"previous_names":["bulletdev/magalu-cloud-api","bulletdev/bullet-cloud-api"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bulletdev%2Fbullet-cloud-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bulletdev%2Fbullet-cloud-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bulletdev%2Fbullet-cloud-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bulletdev%2Fbullet-cloud-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bulletdev","download_url":"https://codeload.github.com/Bulletdev/bullet-cloud-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997089,"owners_count":21195797,"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":["api-rest","go","golang"],"created_at":"2024-12-24T23:12:28.009Z","updated_at":"2025-04-15T02:53:35.247Z","avatar_url":"https://github.com/Bulletdev.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n  \n[![CodeQL Advanced](https://github.com/Bulletdev/bullet-cloud-api/actions/workflows/codeql.yml/badge.svg)](https://github.com/Bulletdev/bullet-cloud-api/actions/workflows/codeql.yml)\n[![Go](https://github.com/Bulletdev/bullet-cloud-api/actions/workflows/go.yml/badge.svg)](https://github.com/Bulletdev/bullet-cloud-api/actions/workflows/go.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Bulletdev_Arremate-certo\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Bulletdev_Arremate-certo)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Bulletdev_Arremate-certo\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=Bulletdev_Arremate-certo)\n\u003cimg src=\"https://img.shields.io/badge/status-Produção-Blue\"\u003e \n\u003c/p\u003e     \n   \n# API RESTful em Go para gerenciamento de produtos       \n \n\u003cp align=\"center\"\u003e \n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/Bulletdev/bullet-cloud-api?color=04D361\u0026labelColor=000000\"\u003e  \n  \n  \u003ca href=\"https://www.linkedin.com/in/Michael-Bullet/\"\u003e\n    \u003cimg alt=\"Made by\" src=\"https://img.shields.io/static/v1?label=made%20by\u0026message=Michael%20Bullet\u0026color=04D361\u0026labelColor=000000\"\u003e\n  \u003c/a\u003e  \n  \n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/bulletdev/bullet-cloud-api?color=04D361\u0026labelColor=000000\"\u003e\n  \n  \u003ca href=\"https://github.com/Bulletdev/linktree/commits/master\"\u003e\n    \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/bulletdev/bullet-cloud-api?color=04D361\u0026labelColor=000000\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# ✨ Recursos\n\u003cdiv\u003e\nCRUD completo de produtos \n\u003c/div\u003e  \n  \n\u003cdiv\u003e \nArmazenamento in-memory \n\u003c/div\u003e \n\n\u003cdiv\u003e\nTratamento seguro de concorrência\n\u003c/div\u003e \n\n\u003cdiv\u003e\nEndpoints RESTful\n\u003c/div\u003e \n\n\u003cdiv\u003e\nHealth check\n\u003c/div\u003e \n\n\u003cdiv\u003e \nTestes Unitários \n\n\u003c/div\u003e \n\n\n## 🚀 Exemplo de uso\n\n Windows: \n \n```bash\nInvoke-WebRequest -Uri http://localhost:4444/products -Method POST -Headers @{\"Content-Type\"=\"application/json\"} -Body '{\"name\":\"Notebook Gamer\",\"description\":\"Notebook para jogos\",\"price\":5999.99,\"category\":\"Eletronicos\"}'\n```\nNo linux: \n\n```bash\ncurl -X POST http://localhost:4444/products \\\n-H \"Content-Type: application/json\" \\\n-d '{\"name\":\"Notebook Gamer\",\"description\":\"Notebook para jogos\",\"price\":5999.99,\"category\":\"Eletronicos\"}'\n```\n## Documentação da API\n\nPara acessar a documentação completa da API, clique no link abaixo:\n\n[Documentação da API no Swagger](https://app.swaggerhub.com/apis-docs/bulletcloud/Estoque/1.1) \u003c! -- CTRL + click para abrir em nova aba --\u003e\n\n\n\n## demonstração: \n\n\u003cdetails\u003e\n\u003cimg src=\"/public/teste2.jpeg\"\u003e\n\u003c/details\u003e\n\n\n## 🛠 Tecnologias\n\n\u003cdiv\u003e\nGolang\n\u003c/div\u003e \n\n\u003cdiv\u003e  \nGorilla Mux\n\u003c/div\u003e \n\n\u003cdiv\u003e\nSync primitives\n\u003c/div\u003e \n\n\n\n## 📦 Instalação\n\nPré-requisitos\n\nGo 1.21+\nGit\n\nPassos\n```bash\ngit clone https://github.com/bulletdev/bullet-cloud-api.git\n```\n# Entrar no diretório\ncd bullet-cloud-api\n\n# Baixar dependências\ngo mod tidy\n\n# Rodar aplicação\ngo run cmd/main.go\n\n\n\n\n\n## 🔍 Endpoints\n\n\u003cdiv\u003e\n  \nGET /products: Listar todos produtos\n\nPOST /products: Criar produto\n\nGET /products/{id}: Buscar produto específico\n\nPUT /products/{id}: Atualizar produto\n\nDELETE /products/{id}: Deletar produto\n\nGET /health: Verificar status da aplicação\n\n\u003c/div\u003e \n\n## 🧪 Test\n\n\u003cdetails\u003e\n\u003cimg src=\"/public/demo2.png\"\u003e\n\u003c/details\u003e\n\n```bash\n\ngo test ./...\n```\n\n📄 Licença\n\nBulletDEv all rights reserveds\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbulletdev%2Fbullet-cloud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbulletdev%2Fbullet-cloud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbulletdev%2Fbullet-cloud-api/lists"}