@hisp-amr/api
v0.0.8
Published
DHIS2 base API functions
Downloads
8
Readme
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...