Skip to content

resource-watch/query

Repository files navigation

Query Microservice

Build Status Test Coverage

This repository is the query microservice for WRI API

  1. Dependencies
  2. Getting Started

Dependencies

glad-alerts, guira-loss, imazon-alerts, jiminy, prodes-loss, quicc-alerts, terrai-alerts, viirs-active-fires

Dependencies on other Microservices:

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 installed on your machine.

git clone https://github.com/resource-watch/query
cd query
./query.sh develop
```text

You 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)