/energuide_api_client_example

☠️ you probably want /NRCan/energuide_api_guide ☠️

Primary LanguageJavaScript

NRCAN Example

CircleCI . * ・ 。゚☆━੧༼ •́ ヮ •̀ ༽୨

This is a small recipe/example for using React & Apollo Client to display data from the NRCAN API, as seen here: https://github.com/cds-snc/nrcan_api. This project was bootstrapped with Create React App, which you can find out more about in the UI folder readme.

This project is currently on hold and will not be kept up to date with changes to the API, so actual data fetching will likely not work.

Running the things

You can install & run the example with the following commands:

cd ui
yarn install
yarn start

The example application will open at http://localhost:3000

Test the things

To run the test suite:

cd ui
yarn test