0.0.8 • Published 5 years ago

@hisp-amr/api v0.0.8

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
5 years ago

api

Installation

yarn add @hisp-amr/api
# or
npm i @hisp-amr/api

Environment variables

REACT_APP_DHIS2_BASE_URL and REACT_APP_DHIS2_API_VERSION needs to be set.

Example

# [root_dir]/.env
REACT_APP_DHIS2_API_VERSION=30
# [root_dir]/.env.development
REACT_APP_DHIS2_BASE_URL=https://amrtest.icmr.org.in/amr
# [root_dir]/.env.production
REACT_APP_DHIS2_BASE_URL=../../..

Usage

Coming soon...