{"id":18596136,"url":"https://github.com/resource-watch/adapter-arcgis","last_synced_at":"2025-05-16T12:34:06.025Z","repository":{"id":27738526,"uuid":"85061628","full_name":"resource-watch/adapter-arcgis","owner":"resource-watch","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-09T09:41:45.000Z","size":1859,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":7,"default_branch":"dev","last_synced_at":"2025-02-17T23:09:54.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/resource-watch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-03-15T10:53:16.000Z","updated_at":"2023-07-19T15:41:17.000Z","dependencies_parsed_at":"2023-02-13T08:45:16.204Z","dependency_job_id":"33eb8bd1-90e3-435f-a81f-c7d1bad8f5f3","html_url":"https://github.com/resource-watch/adapter-arcgis","commit_stats":{"total_commits":107,"total_committers":5,"mean_commits":21.4,"dds":0.4392523364485982,"last_synced_commit":"5643bb0e9e341cf75759cd9460c713f7139ce248"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resource-watch%2Fadapter-arcgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resource-watch%2Fadapter-arcgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resource-watch%2Fadapter-arcgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resource-watch%2Fadapter-arcgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resource-watch","download_url":"https://codeload.github.com/resource-watch/adapter-arcgis/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254530319,"owners_count":22086589,"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":[],"created_at":"2024-11-07T01:23:13.222Z","updated_at":"2025-05-16T12:34:06.008Z","avatar_url":"https://github.com/resource-watch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArcGIS adapter microservice\n\n[![Build Status](https://travis-ci.com/resource-watch/adapter-arcgis.svg?branch=dev)](https://travis-ci.com/resource-watch/adapter-arcgis)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/682efc4cf55c6a795782/test_coverage)](https://codeclimate.com/github/resource-watch/adapter-arcgis/test_coverage)\n\n## Dependencies\n\nYou will need [Control Tower](https://github.com/control-tower/control-tower) up and running - either natively or with Docker. Refer to the project's README for information on how to set it up.\n\nThe ArcGIS adapter microservice is built using [Node.js](https://nodejs.org/en/), and can be executed either natively or using Docker, each of which has its own set of requirements.\n\nNative execution requires:\n- [Node.js](https://nodejs.org/en/)\n- [MongoDB](https://www.mongodb.com/)\n\nExecution using Docker requires:\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\nDependencies on other Microservices:\n\n- [Dataset](https://github.com/resource-watch/dataset)\n- [Converter](https://github.com/resource-watch/converter)\n- [Geostore](https://github.com/gfw-api/gfw-geostore-api)\n\n## Getting started\n\nStart by cloning the repository from github to your execution environment\n\n```\ngit clone https://github.com/resource-watch/adapter-arcgis.git \u0026\u0026 cd adapter-arcgis\n```\n\nAfter that, follow one of the instructions below:\n\n### Using native execution\n\n1 - Set up your environment variables. See `dev.env.sample` for a list of variables you should set, which are described in detail in [this section](#configuration-environment-variables) of the documentation. Native execution will NOT load the `dev.env` file content, so you need to use another way to define those values\n\n2 - Install node dependencies using yarn:\n```\nyarn\n```\n\n3 - Start the application server:\n```\nyarn start\n```\n\nThe endpoints provided by this microservice should now be available through Control Tower's URL.\n\n### Using Docker\n\n1 - Create and complete your `dev.env` file with your configuration. The meaning of the variables is available in this [section](#configuration-environment-variables). You can find an example `dev.env.sample` file in the project root.\n\n2 - Execute the following command to run Control tower:\n\n```\n./adapter.sh develop\n```\n\nThe endpoints provided by this microservice should now be available through Control Tower's URL.\n\n## Testing\n\nThere are two ways to run the included tests:\n\n### Using native execution\n\nFollow the instruction above for setting up the runtime environment for native execution, then run:\n```\nnpm test\n```\n\n### Using Docker\n\nFollow the instruction above for setting up the runtime environment for Docker execution, then run:\n```\n./adapter.sh test\n```\n\n## Configuration\n\n### Environment variables\n\n- PORT =\u003e TCP port in which the service will run\n- NODE_PATH =\u003e relative path to the source code. Should be `app/src`\n- MICROSERVICE_TOKEN =\u003e \n\nYou can optionally set other variables, see [this file](config/custom-environment-variables.json) for an extended list.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresource-watch%2Fadapter-arcgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresource-watch%2Fadapter-arcgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresource-watch%2Fadapter-arcgis/lists"}