A Coronavirus COVID-19 global data statistics application - developed using React, Gatsby, Material UI, Recharts
The data of this statistics accessed from the mathdroid API, which serving data from John Hopkins University CSSE.
The Live Demo data gets updated every 8 hours automatically from a JSON file from this Git Repo by Github Actions. Tech stack: React, Gatsby, Material UI, Recharts, Github Actions, Responsive design
-
Clone.
git clone https://github.com/maxMaxineChen/COVID19-Worldwide-Stats.git
-
Install deps.
cd COVID19-Worldwide-Stats/ npm install
-
Running
npm start
You can now view covid19-worldwide-stats in the browser with http://localhost:8000/ . View GraphiQL, an in-browser IDE, to explore your site's data and schema: http://localhost:8000/___graphql
-
Other Commands
npm run format # Format your code npm run lint # Eslint Airbnb without .jsx extension and without single quote
The live demo uses Github Actions to update data/data.json file and deploy to branch gh-pages which hosted by Github page.
If you like to know the detail of the workflow, check it out deployUpdate.yaml
If you like to know more about data source, check it out this Git Repo
- Get Jest up and run some tests
- Extend data visualization features