Frontend created with Vite, React + TypeScript.
- React dashboard calls API with query string date range to display temperature data
- react-chartjs-2 used for displaying graphs
- react-day-picker used for selecting mutliple dates
- react-query + axios used for data fetching
- Deployed to S3 bucket and uses CloudFront
yarn dev
Copy and rename .env.example to .env. Can connect to localhost api (if backend running) or live api.
VITE_USE_LOCALHOST=true
Run unit tests
yarn test