# CVC-Explorer

A simple react app for exploring the contents of the Canadian Vaccine Catalogue. It gets embedded into this site: [https://cvc.canimmunize.ca/en/explore](https://cvc.canimmunize.ca/en/explore). The app downloads the CVC from the cvc-server using cvc-js and then displays the CVC contents in a terminology explorer.

## Usage

Build: `npm run bundle` (Runs webpack and stores the bundle to disk.)

Build/watch: `npm run bundle:watch`

Run `npm start` to start webpack dev server. (Doesn't write bundle to disk.)

Open `http://localhost:8080/client/index.html` in your browser to see the app.

## Deployment

This app is currently deployed by bulding the bundle with webpack and then uploading it to the CANImmunize DEV CDN bucket.

Run `yarn bundle:publish` to build the bundle and upload it.
