/ephtracking-api-assistant

Easily generate API call statements for accessing data from ephtracking.cdc.gov

Primary LanguageJavaScript

EPH Tracking API Assistant

Build Status codecov tested with jest

Hosted on Surge.sh: https://ephtracking-api.surge.sh/

This web app allows you to explore and build EPH Tracking API queries more easily by providing. From the EPH Portal:

The National Environmental Public Health Tracking Network (Tracking Network) brings together health data and environment data from national, state, and city sources and provides supporting information to make the data easier to understand. The Tracking Network has data and information on environments and hazards, health effects, and population health.

The Tracking Network Data Application Program Interface (API) is an alternate way for developers to query data from the Environmental Public Health Tracking Network. The Tracking API provides a standard Uniform Resource Locator (URL) interface with a JavaScript Object Notation (JSON) formatted response.

National Environmental Public Health Tracking Network

Tracking Network Data Application Program Interface (API)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Install the dependencies:

yarn

Start the development server:

yarn start

Run tests in watch mode:

yarn test

Test coverage:

yarn test --coverage

Build for production:

yarn build

Conintuous deployment and testing

Each push will trigger a buld on TravisCI. If build and tests are successful, the web application will be deployed to github pages.

Testing implemented with Jest (snapshots) and Enzime.

License

Released under the MIT license.