{"id":26470094,"url":"https://github.com/giovani-gomes/thebest","last_synced_at":"2026-05-17T20:01:55.843Z","repository":{"id":279163185,"uuid":"646614165","full_name":"Giovani-Gomes/TheBest","owner":"Giovani-Gomes","description":"Este projeto implementa uma API para simular a eleição \"The Best\" da FIFA.","archived":false,"fork":false,"pushed_at":"2025-02-24T06:37:02.000Z","size":48085,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T17:11:16.829Z","etag":null,"topics":["api","api-rest","h2","java","json","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Giovani-Gomes.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-05-29T00:02:49.000Z","updated_at":"2025-02-25T02:43:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed79c16b-54e8-47aa-b6be-68fe74dbba32","html_url":"https://github.com/Giovani-Gomes/TheBest","commit_stats":null,"previous_names":["giovani-gomes/the_best","giovani-gomes/thebest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Giovani-Gomes/TheBest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giovani-Gomes%2FTheBest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giovani-Gomes%2FTheBest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giovani-Gomes%2FTheBest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giovani-Gomes%2FTheBest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Giovani-Gomes","download_url":"https://codeload.github.com/Giovani-Gomes/TheBest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giovani-Gomes%2FTheBest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33153662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","api-rest","h2","java","json","spring-boot"],"created_at":"2025-03-19T17:10:23.083Z","updated_at":"2026-05-17T20:01:55.830Z","avatar_url":"https://github.com/Giovani-Gomes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API - Prêmio The Best\n\n![GitHub repo size](https://img.shields.io/github/repo-size/Giovani-Gomes/The_Best)\n\n\n\n\n\u003cp\u003eSimule, por meio de uma API, a Eleição “The best” da FIFA. A eleição simulada deve ocorrer\natrás de votos divididos em quatro grupos de eleitores (Técnicos, Capitães, Jornalistas e\nPublico Geral), considere 10 votantes para cada grupo. Cada votante tem direito a escolher\nos três melhores atletas, entre 10, de cada categoria. Ao final da votação ordena-se os\natletas por quantidade de votos recebidos, para cada grupo votante, e atribui-se ao atleta\n5 pontos para o primeiro, 3 pontos para o segundo colocado e 1 ponto para o terceiro. Os\ntrês primeiros, melhores votados são os atletas que obtiverem a maior quantidade de pontos\nentre os 4 grupos votantes.\n\nA simulação deve conter os endpoints:\n\n* *CadastroJogador*: esse endpoint possibilitará o cadastro de jogador (Id, Nome, Idade,\nClube, Nacionalidade e Quantidade Votos). Sendo o Id gerado pelo simulador e a\nquantidade de votos inicialmente com ZERO, limitando em uma lista de 10 jogadores;\n* *AtualizarJogador*: nesse endpoint será possível atualizar o Nome, Idade, Clube e\nNacionalidade de um jogador por Id;\n* *ExcluirJogador*: a exclusão do jogador deve ocorrer por esse endpoint, via Id, apenas\nse o jogador não ter recebido nenhum voto;\n* *ListaCandidatos*: listar todos os 10 jogados candidatos ao prêmio, apresentando nome,\nidade, clube e nacionalidade;\n* *Votar*: através deste serviço, um votante, envia o seu voto, informando qual o grupo\npertence, seu código de identificação e o voto (com os 3 jogadores escolhidos);\n* *VotosPorGrupo*: a considerar os votos, esse endpoint deve retornar os 3 atletas mais\nvotados pelo grupo informando quantos votos foram recebidos;\n* *TheBest*: Contabilizando os mais votados de cada grupo, esse endpoint retorna os 3\natletas que receberam mais pontos entre os quatro grupos.\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiovani-gomes%2Fthebest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiovani-gomes%2Fthebest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiovani-gomes%2Fthebest/lists"}