{"id":45173268,"url":"https://github.com/udistrital/giros_crud","last_synced_at":"2026-02-20T08:33:34.619Z","repository":{"id":45768343,"uuid":"338430009","full_name":"udistrital/giros_crud","owner":"udistrital","description":":heavy_check_mark: Check:  API CRUD Giros","archived":false,"fork":false,"pushed_at":"2024-07-16T19:35:58.000Z","size":545,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2024-07-16T23:45:08.897Z","etag":null,"topics":["finaciera","kronos"],"latest_commit_sha":null,"homepage":"","language":"Go","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/udistrital.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":"2021-02-12T20:49:25.000Z","updated_at":"2024-06-26T21:40:58.000Z","dependencies_parsed_at":"2024-06-27T01:26:57.171Z","dependency_job_id":"b61de45b-0f41-4a54-a4e2-99128cd5dfa0","html_url":"https://github.com/udistrital/giros_crud","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/udistrital/giros_crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Fgiros_crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Fgiros_crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Fgiros_crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Fgiros_crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udistrital","download_url":"https://codeload.github.com/udistrital/giros_crud/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Fgiros_crud/sbom","scorecard":{"id":906904,"data":{"date":"2025-08-11","repo":{"name":"github.com/udistrital/giros_crud","commit":"5ec386c16e867f68d0b2dfd370034d72c8398e18"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":7,"reason":"Found 9/12 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3 to python:3@sha256:3b2f1b9c9948e9dc96e1a2f4668ba9870ff43ab834f91155697476142b3bc299","Warn: containerImage not pinned by hash: bee_build/Dockerfile:1: pin your Docker image by updating botom/beego to botom/beego@sha256:2f3d6fed1aa1d1ce8efd23e1c9e4430d448c5b279c97cdd33d3b8bed9054ebbc","Warn: pipCommand not pinned by hash: Dockerfile:2","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T17:40:49.983Z","repository_id":45768343,"created_at":"2025-08-24T17:40:49.983Z","updated_at":"2025-08-24T17:40:49.983Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29645874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T05:21:04.652Z","status":"ssl_error","status_checked_at":"2026-02-20T05:21:04.238Z","response_time":59,"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":["finaciera","kronos"],"created_at":"2026-02-20T08:33:34.047Z","updated_at":"2026-02-20T08:33:34.613Z","avatar_url":"https://github.com/udistrital.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# giros_crud\n\nEl API giros_crud, proporciona interfaces para la manipulación(CRUD) de los datos almacenados en una base de datos relacional PostgreSQl (registra giros, contabilización giros, ordenes de pago relaciona al giro, etc). Esta API representa la capa de datos del subsistema de giros, el cual, a su vez, hace parte de el sistema de gestión financiero KRONOS.\n\n## Especificaciones Técnicas\n\n### Tecnologías Implementadas y Versiones\n\n* [Golang](https://github.com/udistrital/introduccion_oas/blob/master/instalacion_de_herramientas/golang.md)\n* [BeeGo](https://github.com/udistrital/introduccion_oas/blob/master/instalacion_de_herramientas/beego.md)\n* [Postgres](https://github.com/udistrital/lineamientos_oas/blob/master/instalacion_de_herramientas/postgres.md)\n* [Docker](https://docs.docker.com/engine/install/ubuntu/)\n* [Docker Compose](https://docs.docker.com/compose/)\n\n### Variables de Entorno\n\n```shell\n# Ejemplo que se debe actualizar acorde al proyecto\n      - GIROS_CRUD_HTTP_PORT=[Puerto asignado para la ejecución del API]\n      - GIROS_CRUD_PGUSER=[Usuario de la base de datos]\n      - GIROS_CRUD_PGPASS=[Clave del usuario para la conexión a la base de datos]\n      - GIROS_CRUD_PGHOST=[Host de conexión a la base de datos]\n      - GIROS_CRUD_PGDB=[Nombre de la base de datos]\n      - GIROS_CRUD_PGSCHEMA=[Esquema de la base de datos]\n      - GIROS_CRUD_RUN_MODE=dev\n\n      # Ejemplo\n      - GIROS_CRUD_HTTP_PORT=8080\n      - GIROS_CRUD_PGUSER=postgres\n      - GIROS_CRUD_PGPASS=***\n      - GIROS_CRUD_PGHOST=127.0.0.1\n      - GIROS_CRUD_PGPORT=5432\n      - GIROS_CRUD_PGDB=giros_db\n      - GIROS_CRUD_PGSCHEMA=giros\n```\n\n**NOTA:** Las variables se pueden ver en el fichero conf/app.conf y están identificadas con GIROS_CRUD_...\n\n### Ejecución del Proyecto\n\n```shell\n#1. Obtener el repositorio con Go\ngo get github.com/udistrital/giros_crud\n\n#2. Moverse a la carpeta del repositorio\ncd $GOPATH/src/github.com/udistrital/giros_crud\n\n# 3. Moverse a la rama **develop**\ngit pull origin develop \u0026\u0026 git checkout develop\n\n# 4. alimentar todas las variables de entorno que utiliza el proyecto.\nGIROS_CRUD_HTTP_PORT=8080 GIROS_CRUD_PGURL=127.0.0.1 GIROS_CRUD_SOME_VARIABLE=some_value bee run\n```\n\n### Ejecución Dockerfile\n\n```shell\n# Implementado para despliegue del Sistema de integración continua CI.\n```\n\n### Ejecución docker-compose\n\n```shell\n#1. Clonar el repositorio\ngit clone -b develop https://github.com/udistrital/giros_crud\n\n#2. Moverse a la carpeta del repositorio\ncd giros_crud\n\n#3. Crear un fichero con el nombre **custom.env**\ntouch .env\n\n#4. Crear la network **back_end** para los contenedores\ndocker network create back_end\n\n#5. Ejecutar el compose del contenedor\ndocker-compose up --build\n\n#6. Comprobar que los contenedores estén en ejecución\ndocker ps\n```\n\n### Ejecución Pruebas\n\nPruebas unitarias\n\n```shell\n# Not Data\n```\n\n## Modelo de datos\n\n[Mode Relacional giros_crud](database/Modelo_giros.svg) -\n [PGmodeler](database/modelo_giros_crud.dbm)\n\n## Estado CI\n\n| Develop | Release 1.0.1 | Master |\n| -- | -- | -- |\n| [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/giros_crud/status.svg?ref=refs/heads/develop)](https://hubci.portaloas.udistrital.edu.co/udistrital/giros_crud) | [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/giros_crud/status.svg?ref=refs/heads/release/1.0.1)](https://hubci.portaloas.udistrital.edu.co/udistrital/giros_crud) | [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/giros_crud/status.svg?ref=refs/heads/master)](https://hubci.portaloas.udistrital.edu.co/udistrital/giros_crud) |\n## Licencia\n\nThis file is part of giros_crud\n\ngiros_crud is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\ngiros_crud is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with giros_crud. If not, see https://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudistrital%2Fgiros_crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudistrital%2Fgiros_crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudistrital%2Fgiros_crud/lists"}