{"id":28957956,"url":"https://github.com/deyson19/dotnet-minimalapi-apicursos-pg","last_synced_at":"2026-05-10T02:03:52.358Z","repository":{"id":294490667,"uuid":"987141117","full_name":"Deyson19/Dotnet-MinimalApi-ApiCursos-Pg","owner":"Deyson19","description":"Ejemplo de Minimal Api en .NET 9 + EF con PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-05-20T16:49:43.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T17:43:55.264Z","etag":null,"topics":["dotnet","dotnet9","entity-framework-core","minimal-api","postgresql"],"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/Deyson19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-20T16:27:04.000Z","updated_at":"2025-05-20T16:51:05.000Z","dependencies_parsed_at":"2025-05-20T23:02:08.308Z","dependency_job_id":null,"html_url":"https://github.com/Deyson19/Dotnet-MinimalApi-ApiCursos-Pg","commit_stats":null,"previous_names":["deyson19/dotnet-minimalapi-apicursos-pg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Deyson19/Dotnet-MinimalApi-ApiCursos-Pg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deyson19%2FDotnet-MinimalApi-ApiCursos-Pg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deyson19%2FDotnet-MinimalApi-ApiCursos-Pg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deyson19%2FDotnet-MinimalApi-ApiCursos-Pg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deyson19%2FDotnet-MinimalApi-ApiCursos-Pg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deyson19","download_url":"https://codeload.github.com/Deyson19/Dotnet-MinimalApi-ApiCursos-Pg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deyson19%2FDotnet-MinimalApi-ApiCursos-Pg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261567490,"owners_count":23178163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dotnet","dotnet9","entity-framework-core","minimal-api","postgresql"],"created_at":"2025-06-23T22:35:20.702Z","updated_at":"2026-05-10T02:03:47.312Z","avatar_url":"https://github.com/Deyson19.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal API - .NET 9 y PostgreSQL\n\n## Descripción\n\nEste proyecto es una API minimal desarrollada en .NET 9 utilizando PostgreSQL como base de datos. Proporciona un punto de partida para construir APIs RESTful escalables y eficientes.\n\n## Requisitos Previos\n\n- [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0)\n- [PostgreSQL](https://www.postgresql.org/download/)\n- [Entity Framework Core CLI](https://docs.microsoft.com/en-us/ef/core/cli/dotnet)\n\n## Configuración\n\n### 1. Configurar la cadena de conexión\n\nEdita el archivo `appsettings.json` con tus credenciales de PostgreSQL:\n\n### 2. Ejecutar migraciones\n\nPara aplicar las migraciones y crear la base de datos:\n\n#### En Visual Studio:\n\n1. Abre la Consola del Administrador de Paquetes\n2. Ejecuta:\n```\nupdate-database\n```\n\n#### En línea de comandos:\n\n```\ndotnet ef database update\n```\n\nLa API estará disponible en:\n\n- [ HTTPS ](https://localhost:7288)\n- [ HTTP ](http://localhost:5274)\n\n## Endpoints Disponibles\n\n| Método | Endpoint         | Descripción                |\n| ------ | ---------------- | -------------------------- |\n| GET    | /api/cursos      | Obtener todos los cursos   |\n| GET    | /api/cursos/{id} | Obtener un item específico |\n| POST   | /api/cursos      | Crear un nuevo item        |\n| PATCH  | /api/cursos/{id} | Actualizar un item         |\n| DELETE | /api/cursos/{id} | Eliminar un item           |\n\n## Licencia\n\nEste proyecto está bajo la licencia MIT. Ver el archivo [LICENSE](LICENSE) para más detalles.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeyson19%2Fdotnet-minimalapi-apicursos-pg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeyson19%2Fdotnet-minimalapi-apicursos-pg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeyson19%2Fdotnet-minimalapi-apicursos-pg/lists"}