Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resource-watch/query
Query microservice
https://github.com/resource-watch/query
Last synced: 1 day ago
JSON representation
Query microservice
- Host: GitHub
- URL: https://github.com/resource-watch/query
- Owner: resource-watch
- License: other
- Created: 2017-03-15T15:17:47.000Z (over 7 years ago)
- Default Branch: dev
- Last Pushed: 2024-01-09T10:18:20.000Z (10 months ago)
- Last Synced: 2024-04-09T11:25:05.064Z (7 months ago)
- Language: JavaScript
- Size: 1.7 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Query Microservice
[![Build Status](https://travis-ci.org/resource-watch/query.svg?branch=dev)](https://travis-ci.org/resource-watch/query)
[![Test Coverage](https://api.codeclimate.com/v1/badges/3e6b21174a2e8fe2192c/test_coverage)](https://codeclimate.com/github/resource-watch/query/test_coverage)This repository is the query microservice for WRI API
1. [Dependencies](#dependencies)
2. [Getting Started](#getting-started)## Dependencies
glad-alerts, guira-loss, imazon-alerts, jiminy, prodes-loss, quicc-alerts, terrai-alerts, viirs-active-fires
Dependencies on other Microservices:
- [Dataset](https://github.com/resource-watch/dataset/)
- [Glad Alerts](https://github.com/gfw-api/glad-analysis-tiled)
- [GFW Guira Loss](https://github.com/gfw-api/gfw-guira-loss-api)
- [GFW Imazon Alerts](https://github.com/gfw-api/gfw-imazon-alerts-api)
- [GFW Prodes Loss](https://github.com/gfw-api/gfw-prodes-loss-api)
- [GFW Quicc Alerts](https://github.com/gfw-api/gfw-quicc-alerts-api)
- [GFW Terra-i Alerts](https://github.com/gfw-api/gfw-terrai-alerts-api)
- [GFW Viirs Active Fires](https://github.com/gfw-api/gfw-viirs-fires-api)## Getting Started
### OS X
We're using Docker which, luckily for you, means that getting the
application running locally should be fairly painless. First, make sure
that you have [Docker Compose](https://docs.docker.com/compose/install/)
installed on your machine.```
git clone https://github.com/resource-watch/query
cd query
./query.sh develop
```textYou can now access the microservice through the CT gateway.
```
### Configuration
It is necessary to define these environment variables:
* GATEWAY_URL => Control Tower URL
* NODE_ENV => Environment (prod, staging, dev)