{"id":28315503,"url":"https://github.com/will9191/contracts","last_synced_at":"2026-04-29T20:10:09.756Z","repository":{"id":294128335,"uuid":"984820074","full_name":"will9191/contracts","owner":"will9191","description":"Projeto que permite leitura e inserção de dados através do upload de arquivos.","archived":false,"fork":false,"pushed_at":"2025-05-19T01:41:01.000Z","size":271,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T08:08:27.758Z","etag":null,"topics":["asp-net","csharp","scalar","sql-server","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","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/will9191.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,"zenodo":null}},"created_at":"2025-05-16T15:02:17.000Z","updated_at":"2025-05-26T14:19:42.000Z","dependencies_parsed_at":"2025-05-19T02:36:23.493Z","dependency_job_id":null,"html_url":"https://github.com/will9191/contracts","commit_stats":null,"previous_names":["will9191/contracts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/will9191/contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will9191%2Fcontracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will9191%2Fcontracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will9191%2Fcontracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will9191%2Fcontracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will9191","download_url":"https://codeload.github.com/will9191/contracts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will9191%2Fcontracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["asp-net","csharp","scalar","sql-server","webapi"],"created_at":"2025-05-24T21:14:53.963Z","updated_at":"2026-04-29T20:10:09.751Z","avatar_url":"https://github.com/will9191.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contracts (desafio)\n\nContracts é uma aplicação que permite gerenciar contratos, permitindo adição por upload de arquivos. Inclui funcionalidades de:\n\n- Autenticação por Jwt\n- Nível de acesso às funcionalidades\n- Suporte à leitura de arquivos .csv para leitura e inserção de dados automaticamente\n- Consulta de arquivos importados e usuário responsável pela importação\n- Paginação\n- Consulta de valor total de todos os contratos dos clientes, fazendo a busca pelo CPF\n- Maior atraso em dias do maior vencimento de pagamento\n## Stack utilizada\n\n**Desktop:** .NET MAUI\n\n**Back-end:** C#, Asp.NET 9.0\n\n**Banco de dados:** SQL Server\n\n**API Test:** Scalar\n## Rodando localmente\n\nClone o projeto\n\n```bash\n  git clone https://github.com/will9191/contracts\n```\n\n**Web API**\n\nEntre no diretório do projeto\n\n```bash\n  cd server\n```\n\nVerifique se o .NET está instalado (usando a versão 9)\n\n```bash\n  dotnet --version (.NET 9 sendo utilizada)\n```\n\nRestaure os pacotes NuGet\n\n```bash\n  dotnet restore\n```\n\nFaça o build do projeto\n\n```bash\n  dotnet build\n```\n\nRode o projeto\n\n```bash\n  dotnet run --project server\n```\n\nAbra na web pelo localhost e navegue para /scalar para testar a API. Exemplos:\n\n```bash\nhttps://localhost:7230/scalar\n```\n```bash\nhttp://localhost:5166/scalar\n```\n\n**Desktop**\n\nNavegue para o diretório do projeto (contracts/desktop)\n\nVerifique se o .NET está instalado (usando a versão 9)\n\n```bash\n  dotnet --version\n```\n\nRestaure os pacotes NuGet\n\n```bash\n  dotnet restore\n```\n\nFaça o build do projeto\n\n```bash\n  dotnet build -f net9.0-windows10.0.19041.0 -c Debug -p:PublishReadyToRun=true -p:WindowsPackageType=None\n\n```\n\nRode o projeto\n\n```bash\n  dotnet run -f net9.0-windows10.0.19041.0 -c Debug -p:PublishReadyToRun=true -p:WindowsPackageType=None\n\n```\n\n## Screenshots\n\n![summary-by-cpf-view](https://github.com/user-attachments/assets/15646670-fda8-4c63-8b96-4d9bd1df33b1)\n\n![contracts-by-cpf](https://github.com/user-attachments/assets/1ce6a6b5-8a24-4674-a334-1d6beb6d5ca2)\n\n![contracts-by-file](https://github.com/user-attachments/assets/e9b7748f-6b11-4e85-8824-4f074fd50495)\n\n![contracts-view](https://github.com/user-attachments/assets/70c230ec-dad9-4bae-b949-dd05a519f9bd)\n\n![login](https://github.com/user-attachments/assets/6503e8d4-2147-4b20-93f4-adbac4a33e27)\n\n![add-contracts-from-file](https://github.com/user-attachments/assets/ca4e1448-f77e-4644-baf2-836cdf0c3953)\n\n![contract-files](https://github.com/user-attachments/assets/5b9f07ae-d7e8-4aa2-bdca-2696efec6cd6)\n\n![register](https://github.com/user-attachments/assets/0d94e13f-5db4-4b3b-9d8d-320b023190a7)\n\n![summary-by-cpf](https://github.com/user-attachments/assets/4ea00f05-c1d2-4d27-95cc-e4d20124885f)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill9191%2Fcontracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill9191%2Fcontracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill9191%2Fcontracts/lists"}