Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 865 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 865 Bytes

Query Microservice

This repository is the query microservice for WRI API

  1. Getting Started

Getting Started

OS X

First, make sure that you have the API gateway running locally.

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:

  • CT_URL => Control Tower URL
  • API_VERSION => Actual version of the API (v1)
  • NODE_ENV => Environment (prod, staging, dev)