{"id":31027126,"url":"https://github.com/danhpaiva/todo-api-mvc-net","last_synced_at":"2026-04-18T19:32:46.526Z","repository":{"id":300249476,"uuid":"1005671977","full_name":"danhpaiva/todo-api-mvc-net","owner":"danhpaiva","description":"🌐 ~ Todo API AspNet MVC .Net 9","archived":false,"fork":false,"pushed_at":"2025-10-26T22:50:25.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T02:19:18.770Z","etag":null,"topics":["api","api-rest","docker","jwt","jwt-auth","jwt-token","mvc","webapi","xunit","xunit-tests"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danhpaiva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-06-20T15:57:35.000Z","updated_at":"2025-11-04T17:55:48.000Z","dependencies_parsed_at":"2025-06-20T17:22:25.042Z","dependency_job_id":"1f5e2ff4-508b-4b19-a4ad-44005ac2131f","html_url":"https://github.com/danhpaiva/todo-api-mvc-net","commit_stats":null,"previous_names":["danhpaiva/todo-api-mvc-net"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/danhpaiva/todo-api-mvc-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhpaiva%2Ftodo-api-mvc-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhpaiva%2Ftodo-api-mvc-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhpaiva%2Ftodo-api-mvc-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhpaiva%2Ftodo-api-mvc-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danhpaiva","download_url":"https://codeload.github.com/danhpaiva/todo-api-mvc-net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhpaiva%2Ftodo-api-mvc-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"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":["api","api-rest","docker","jwt","jwt-auth","jwt-token","mvc","webapi","xunit","xunit-tests"],"created_at":"2025-09-13T18:51:59.399Z","updated_at":"2026-04-18T19:32:46.507Z","avatar_url":"https://github.com/danhpaiva.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e 🖳 TodoApi Rest 🖳\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://i.ibb.co/mFrdnvG7/api-01.png?raw=true\" width=\"600\" alt=\"TodoApi\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://i.ibb.co/8DtkbQLG/api-02.png?raw=true\" width=\"600\" alt=\"Testes Unitarios\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"#status\"\u003eStatus\u003c/a\u003e • \n \u003ca href=\"#objective\"\u003eObjetivo\u003c/a\u003e •\n \u003ca href=\"#installation\"\u003eDesenvolvimento\u003c/a\u003e • \n \u003ca href=\"#technology\"\u003eTecnologias\u003c/a\u003e • \n \u003ca href=\"#author\"\u003eAutor\u003c/a\u003e • \n \u003ca href=\"#licence\"\u003eLicença\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\" id=status\u003e \n\t⌛ Concluído ⌛\n\u003c/h2\u003e\n\n\u003ch2 id=objective\u003e📜 Sobre\u003c/h2\u003e\nCriacao de uma API simples no modelo Restfull em .Net + EntityFramework. \u003cbr\u003e\nO modelo de dados esta simples porque o foco esta em abstrair alguns conhecimentos.\n\n\u003ch2 id=installation\u003e✔️ Instalacao\u003c/h2\u003e\n\nVocê precisa ter o Visual Studio 2022 ou VsCode instalado para testar o projeto.\u003c/br\u003e\nO projeto roda sob o SDK .Net 9.\n\nRode o projeto e acesse a URL:\n\n~~~\nhttps://localhost:7181/swagger/index.html\n~~~\n\n#### Autenticacao\n\nPara autenticar, acesse a url: \n\n~~~\nhttps://localhost:7181/api/Auth/login\n~~~\n\ne use o JSON:\n\n~~~\n{\n  \"username\": \"admin\",\n  \"password\": \"senhaforte\"\n}\n~~~\n\nO Token expira depois de 30 minutos.\n\n#### Post\n\nClique no metodo Post, e cole esse modelo de retorno de dados:\n\n~~~\n{\n  \"name\": \"Estudar Arquitetura Hexagonal\",\n  \"isComplete\": true\n}\n~~~\n\nVoce recebera um json semelhante a este:\n\n~~~\n{\n  \"id\": 1,\n  \"name\": \"Estudar Arquitetura Hexagonal\",\n  \"isComplete\": true\n}\n~~~\n\n\n\u003ch2 id=technology\u003e🧰 Tecnologias\u003c/h2\u003e\n\nAs seguintes tecnologias foram utilizadas neste projeto:\n\n- IDE: \u003ca href=\"https://visualstudio.microsoft.com/pt-br/vs/\"\u003eVisual Studio 2022\u003c/a\u003e\n- SDK: \u003ca href=\"https://dotnet.microsoft.com/pt-br/download/dotnet/9.0\"\u003e.Net 9\u003c/a\u003e\n- EntityFrameworkCore: \u003ca href=\"https://www.nuget.org/packages/microsoft.entityframeworkcore.inmemory\"\u003eMicrosoft.EntityFrameworkCore.InMemory\u003c/a\u003e\n- Autenticacao e Autorizacao: \u003ca href=\"https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.JwtBearer\"\u003eMicrosoft.AspNetCore.Authentication.JwtBearer\u003c/a\u003e\n- Autenticacao e Autorizacao: \u003ca href=\"https://www.nuget.org/packages/microsoft.identitymodel.tokens/\"\u003eMicrosoft.IdentityModel.Tokens\u003c/a\u003e\n- Autenticacao e Autorizacao: \u003ca href=\"https://www.nuget.org/packages/system.identitymodel.tokens.jwt/\"\u003eSystem.IdentityModel.Tokens.Jwt\u003c/a\u003e\n- Testes Unitarios: \u003ca href=\"https://www.nuget.org/packages/xunit\"\u003exUnit\u003c/a\u003e\n- Docker: \u003ca href=\"https://docs.docker.com/get-started/\"\u003eDocker\u003c/a\u003e\n  \n\u003ch2 id=author\u003e😎 Autor\u003c/h2\u003e\n\nDeveloped by \u003ca href=\"https://www.linkedin.com/in/danhpaiva/\" target=\"_blank\"\u003eDaniel Paiva\u003c/a\u003e\n\n\u003ch2 id=licence\u003e🆓 Licença\u003c/h2\u003e\n\nEste projeto está sob a licença\n\u003ca href=\"https://github.com/danhpaiva/todo-api-mvc-net/blob/main/LICENSE\" target=\"_blank\"\u003eMIT\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhpaiva%2Ftodo-api-mvc-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanhpaiva%2Ftodo-api-mvc-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhpaiva%2Ftodo-api-mvc-net/lists"}