{"id":21172097,"url":"https://github.com/caiocampos/poi-inc","last_synced_at":"2026-04-06T21:30:55.151Z","repository":{"id":39876450,"uuid":"189728973","full_name":"caiocampos/POI-inc","owner":"caiocampos","description":"POI-inc, protótipo de Software de gerência de Pontos de Interesse, usando Java, Spring e MongoDB (em migração para Kotlin)","archived":false,"fork":false,"pushed_at":"2025-09-05T03:07:24.000Z","size":190,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T05:23:25.222Z","etag":null,"topics":["java","mongodb","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/caiocampos.png","metadata":{"files":{"readme":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-01T12:14:24.000Z","updated_at":"2025-09-05T03:07:21.000Z","dependencies_parsed_at":"2023-02-12T14:01:47.201Z","dependency_job_id":"7aa8e5b0-b6f3-4b40-8ec9-14ff5378dcdd","html_url":"https://github.com/caiocampos/POI-inc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caiocampos/POI-inc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiocampos%2FPOI-inc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiocampos%2FPOI-inc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiocampos%2FPOI-inc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiocampos%2FPOI-inc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caiocampos","download_url":"https://codeload.github.com/caiocampos/POI-inc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiocampos%2FPOI-inc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"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":["java","mongodb","spring","spring-boot"],"created_at":"2024-11-20T16:19:58.181Z","updated_at":"2026-04-06T21:30:55.133Z","avatar_url":"https://github.com/caiocampos.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POI-inc\n\n[![DepShield Badge](https://depshield.sonatype.org/badges/caiocampos/POI-inc/depshield.svg)](https://depshield.github.io)\n[![GuardRails Badge](https://badges.guardrails.io/caiocampos/POI-inc.svg)](https://www.guardrails.io/)\n[![License](https://img.shields.io/github/license/caiocampos/POI-inc.svg)](LICENSE)\n\nSoftware de gerência de Pontos de Interesse\n\n## Executando:\n\nPara executar o projeto é necessário o Maven instalado e configurado, siga as instruções do site a seguir para configurar:\n\nhttp://luizricardo.org/2014/06/instalando-configurando-e-usando-o-maven-para-gerenciar-suas-dependencias-e-seus-projetos-java/\n\nCom o Maven configurado basta executar o seguinte comando na pasta do projeto:\n\n- Linux\n\u003e SPRING_APPLICATION_JSON='{\"mongoUser\":\"###\",\"mongoUserP\":\"###\"}' mvn -Dmaven.test.skip=true install spring-boot:run\n\n- Windows\n\u003e set SPRING_APPLICATION_JSON={\"mongoUser\":\"###\",\"mongoUserP\":\"###\"}\n\u003e mvn -Dmaven.test.skip=true install spring-boot:run\n\n## Testando:\n\nPara facilitar o teste, foi disponibilizado um arquivo de coleção do Postman para ser importado\n\nhttps://github.com/caiocampos/POI-inc/blob/master/POI-inc.postman_collection.json\n\nPara instalar o Postman e importar a coleção siga o tutoriai a seguir:\n\nhttps://developer.ft.com/portal/docs-start-install-postman-and-import-request-collection\n\nÉ possível fazer requisições diretamente por requisições HTTP\n\n\n* ### Serviço de cadastrar Ponto de Interesse:\n\nMéthodo: POST /\nEndereço:\n\u003e {{ localhost || IP }}:{{ PORTA }}\n\nTipo:\n\u003e Content-Type: application/json\n\nDados:\n```\n{\n    \"name\": \"Lanchonete\",\n    \"x\": 27,\n    \"y\": 12\n}\n```\n\n* Exemplo:\n```\nPOST / HTTP/1.1\nHost: localhost:8085\nContent-Type: application/json\nUser-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0\nAccept: */*\nCache-Control: no-cache\nHost: localhost:8085\naccept-encoding: gzip, deflate\ncontent-length: 45\nConnection: keep-alive\ncache-control: no-cache\n\n{\n    \"name\": \"Lanchonete\",\n    \"x\": 27,\n    \"y\": 12\n}\n```\n\n* ### Serviço de listar todos os Pontos de Interesse:\n\nMéthodo: GET /\nEndereço:\n\u003e {{ localhost || IP }}:{{ PORTA }}\n\n* Exemplo:\n```\nGET / HTTP/1.1\nHost: localhost:8085\nContent-Type: application/json\nUser-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0\nAccept: */*\nCache-Control: no-cache\nHost: localhost:8085\naccept-encoding: gzip, deflate\nConnection: keep-alive\ncache-control: no-cache\n```\n\n* ### Serviço de listar todos os Pontos de Interesse:\n\nMéthodo: GET /near\nEndereço:\n\u003e {{ localhost || IP }}:{{ PORTA }}\n\nTipo:\n\u003e Content-Type: application/json\n\nDados:\n```\n{\n\t\"x\": 20,\n\t\"y\": 10,\n\t\"distance\": 10\n}\n```\n\n* Exemplo:\n```\nGET /near HTTP/1.1\nHost: localhost:8085\nContent-Type: application/json\nUser-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0\nAccept: */*\nCache-Control: no-cache\nHost: localhost:8085\naccept-encoding: gzip, deflate\ncontent-length: 39\nConnection: keep-alive\ncache-control: no-cache\n\n{\n\t\"x\": 20,\n\t\"y\": 10,\n\t\"distance\": 10\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiocampos%2Fpoi-inc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaiocampos%2Fpoi-inc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiocampos%2Fpoi-inc/lists"}