{"id":23485120,"url":"https://github.com/gabriel4420/teste-backend-gabriel","last_synced_at":"2026-04-18T07:34:05.257Z","repository":{"id":215490154,"uuid":"739069814","full_name":"Gabriel4420/teste-backend-gabriel","owner":"Gabriel4420","description":"Bem-vindo à API de Resultados Escolares, uma aplicação em Node.js que permite gravar, excluir e listar resultados escolares por bimestre, disciplina, nota, data de criação e data de atualização. Esta API foi desenvolvida utilizando Typescript, Prisma, Fastify.","archived":false,"fork":false,"pushed_at":"2024-10-12T00:01:11.000Z","size":68,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T04:27:26.192Z","etag":null,"topics":["fastify","nodejs","solid-principles","typescript"],"latest_commit_sha":null,"homepage":"","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/Gabriel4420.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":"2024-01-04T17:44:28.000Z","updated_at":"2024-01-08T03:04:58.000Z","dependencies_parsed_at":"2025-02-16T09:42:47.577Z","dependency_job_id":null,"html_url":"https://github.com/Gabriel4420/teste-backend-gabriel","commit_stats":null,"previous_names":["gabriel4420/teste-backend-gabriel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gabriel4420/teste-backend-gabriel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabriel4420%2Fteste-backend-gabriel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabriel4420%2Fteste-backend-gabriel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabriel4420%2Fteste-backend-gabriel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabriel4420%2Fteste-backend-gabriel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gabriel4420","download_url":"https://codeload.github.com/Gabriel4420/teste-backend-gabriel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabriel4420%2Fteste-backend-gabriel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["fastify","nodejs","solid-principles","typescript"],"created_at":"2024-12-24T22:12:13.576Z","updated_at":"2026-04-18T07:34:05.240Z","avatar_url":"https://github.com/Gabriel4420.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e📙 Desafio Teste Backend 📙\u003c/h1\u003e\n\n\u003cp\u003eBem-vindo à API de Resultados Escolares, uma aplicação em Node.js que permite gravar, excluir e listar resultados escolares por bimestre, disciplina, nota, data de criação e data de atualização. Esta API foi desenvolvida utilizando TypeScript, Prisma, Fastify e seguindo os princípios do padrão SOLID e Clean Code.\u003c/p\u003e\n\n## 📝 Pré-requisitos\n\n\u003cp\u003eCertifique-se de ter as seguintes ferramentas instaladas em sua máquina:\u003c/p\u003e\n\n✅ Node.js (v14 ou superior)\u003c/br\u003e\n\n✅ npm (v6 ou superior)\u003c/br\u003e\n\n✅ TypeScript\u003c/br\u003e\n\n✅ Prisma\u003c/br\u003e\n\n✅ Fastify\u003c/br\u003e\n\n## ⚙️ Instalação\n\n\u003cp\u003eClone este repositório:\u003c/p\u003e\n\n```bash\ngit clone https://github.com/Gabriel4420/teste-backend-gabriel.git\n```\n\n\u003cp\u003eInstale as dependências:\u003c/p\u003e\n\n```bash\nnpm install\n```\n\n\u003cp\u003eExecute as migrações do banco de dados com Prisma:\u003c/p\u003e\n\n```bash\nnpx prisma migrate dev\n```\n\n\u003cp\u003eInicie o servidor:\u003c/p\u003e\n\n```bash\nnpm run start\n```\n\nA API estará acessível em \u003chttp://localhost:3333\u003e.\n\n## 📍 Endpoints\n\n1.Gravar Resultado Escolar\nURL: /resultados\nMétodo: POST\nExemplo de corpo da requisição:\n\n```bash\n{\n  \"bimestre\": \"PRIMEIRO\",\n  \"disciplina\": \"Sociologia\",\n  \"nota\": 9.5\n}\n```\n\n2.Excluir Resultado Escolar\n\nURL: /deletarResultado/:id\n\nMétodo: DELETE\n\n3. Listar Resultados Escolares\n\nURL: /listarResultados\n\nMétodo: GET\n\nParâmetros de Consulta Opcionais:\n\nid\n\n## 🔩 Estrutura do Projeto\n\nA estrutura do projeto segue o padrão de arquitetura limpa (Clean Architecture) para garantir a separação de responsabilidades e a manutenibilidade do código. Os principais diretórios são:\n\n\u003cstrong\u003esrc/controllers:\u003c/strong\u003e Controladores que lidam com as requisições HTTP.\u003cbr/\u003e\n\u003cstrong\u003esrc/services:\u003c/strong\u003e Lógica de negócios e interação com o banco de dados.\u003cbr/\u003e\n\u003cstrong\u003esrc/routes:\u003c/strong\u003e Definição das rotas da aplicação.\u003cbr/\u003e\n\nEspero que esta API seja útil para o gerenciamento de resultados escolares. Se precisar de ajuda ou tiver sugestões, não hesite em entrar em contato. ¡Boa codificação! 🚀\n\n\u003ch4 align=\"center\"\u003e\n  Feito com ❤️ por Gabriel Rodrigues 👋️ \u003ca rel=\"no-referrer no-follow\" href=\"mailto:gabriel_rodrigues_perez@hotmail.com\"\u003eEntre em contato!\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n\n  \u003ca href=\"https://www.linkedin.com/in/gabriel-rodrigues-perez-2069b072/\"\u003e\n    \u003cimg alt=\"Gabriel Rodrigues Perez\" src=\"https://img.shields.io/badge/LinkedIn-Gabriel_Rodrigues-0e76a8?style=flat\u0026logoColor=white\u0026logo=linkedin\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.facebook.com/gabriel.rodrigues.perez\"\u003e\n    \u003cimg alt=\"Gabriel Rodrigues Perez\" src=\"https://img.shields.io/badge/Facebook-Gabriel_Rodrigues-1778F2?style=flat\u0026logoColor=white\u0026logo=facebook\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.instagram.com/gabriel_rodrigues_perez/\"\u003e\n    \u003cimg alt=\"Gabriel Rodrigues Perez\" src=\"https://img.shields.io/badge/Instagram-@gabriel4420-833AB4?style=flat\u0026logoColor=white\u0026logo=instagram\"\u003e\n  \u003c/a\u003e\n  \n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel4420%2Fteste-backend-gabriel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabriel4420%2Fteste-backend-gabriel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel4420%2Fteste-backend-gabriel/lists"}