Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 704 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 704 Bytes

Dashboard

Frontend created with Vite, React + TypeScript.

Overview

  • 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

Run

yarn dev

Env

Copy and rename .env.example to .env. Can connect to localhost api (if backend running) or live api.

VITE_USE_LOCALHOST=true

Test

Run unit tests

yarn test