{"id":24516625,"url":"https://github.com/bipiane/georef-graphql","last_synced_at":"2026-05-10T03:19:22.455Z","repository":{"id":46938500,"uuid":"195563377","full_name":"bipiane/georef-graphql","owner":"bipiane","description":"API GraphQL del Servicio de Normalización de Datos Geográficos de Argentina","archived":false,"fork":false,"pushed_at":"2022-12-10T21:34:39.000Z","size":261,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-03-15T10:42:46.861Z","etag":null,"topics":["argentina","argob","datos","docker","georef","graphql","prisma"],"latest_commit_sha":null,"homepage":null,"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/bipiane.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}},"created_at":"2019-07-06T16:58:56.000Z","updated_at":"2019-09-15T02:57:42.000Z","dependencies_parsed_at":"2023-01-26T08:50:21.363Z","dependency_job_id":null,"html_url":"https://github.com/bipiane/georef-graphql","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bipiane/georef-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipiane%2Fgeoref-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipiane%2Fgeoref-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipiane%2Fgeoref-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipiane%2Fgeoref-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bipiane","download_url":"https://codeload.github.com/bipiane/georef-graphql/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipiane%2Fgeoref-graphql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296760,"owners_count":23907012,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["argentina","argob","datos","docker","georef","graphql","prisma"],"created_at":"2025-01-22T01:26:53.780Z","updated_at":"2026-05-10T03:19:22.426Z","avatar_url":"https://github.com/bipiane.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API GraphQL del Servicio de Normalización de Datos Geográficos de Argentina\n\n[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\ngeoref-graphql es un proyecto que implementa una API GraphQL de los datos importados de la API REST de [georef-ar](https://datosgobar.github.io/georef-ar-api/).\n\n**georef-ar**: API del Servicio de Normalización de Datos Geográficos, permite normalizar y codificar los nombres de unidades territoriales de la Argentina (provincias, departamentos, municipios y localidades) y de sus calles, así como ubicar coordenadas dentro de ellas.\n\n### Tools\n- [NodeJS](https://nodejs.org/)\n- [GraphQL](https://graphql.org/)\n- [Prisma2](https://www.prisma.io/)\n- [Nexus](https://nexus.js.org/)\n- [MySQL](https://www.mysql.com/) \n\n### Setup\n```sh\n  $ npm install -g prisma2  \n```\n```sh\n  $ npm install   \n```\n```sh\n  # Environment: Copy .envrc.dist and edit .envrc\n  $ cp .envrc.dist .envrc  \n```\n```sh\n  # Edit prisma/schema.prisma and run Prisma2\n  $ prisma2 dev  \n```\n\n### Seed Países y Provincias\n```sh\n  $ npm run seed  \n```\n\n### Import Georef AR\n```sh\n  $ npm run import  \n```\n\n### Server Nexus App\n```sh\n  $ npm run start  \n```\n\n### Playground App\n```sh\n  # Edit .graphqlconfig.yml and run\n  $ graphql playground  \n```\n\n### Query examples\n```graphql\nquery($paisTexto: String, $provinciaTexto: String) {\n  paises(\n    where: {\n      OR: [{ \n            iso_code: { contains: $paisTexto }, \n            name: { contains: $paisTexto } \n      }]\n      active: { equals: true }\n    }\n  ) {\n    name\n    provincias(where: { name: { contains: $provinciaTexto } }) {\n      name\n      id\n    }\n  }\n\n  provincias(where: { name: { contains: $provinciaTexto } }) {\n    name\n  }\n}\n```\n#### Variables\n```\n{\n    \"paisTexto\": \"AR\",\n    \"provinciaTexto\": \"rio\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipiane%2Fgeoref-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbipiane%2Fgeoref-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipiane%2Fgeoref-graphql/lists"}