Giter VIP home page Giter VIP logo

react-covid19-tracker's Introduction

react-covid19-tracker

Resources

API: https://documenter.getpostman.com/view/11144369/Szf6Z9B3?version=latest#6b6045c7-ee07-40a8-a733-f3bc077beda9
DATA FROM:

  • JHUCSSE(Data from Johns Hopkins University)

  • NYT(Data from New York Times)

API Calls used: (Following documentation is from the postman link above)

GET County Data https://corona.lmao.ninja/v2/nyt/counties?county= Return all NYT county data or individual county data if specified. Each entry returned represents data for a given day.

PARAMS county The county that you'd like to search for, separated by comma if you want to search for multiple (i.e. 'Alameda, Humboldt'). Default is full data set.

GET Historical Data for all Counties in a Specified State https://corona.lmao.ninja/v2/historical/usacounties/:state?lastdays=30 Get time series info from the JHU CSSE Data Repository. Every date since 1/22/20 has an entry tracking deaths and cases. Updated each day at 23:59 UTC. Data is updated every 10 minutes.

PARAMS lastdays30 number of days you want the data to go back to. Default is 30. Use all for full data set. Ex: 15, all, 24. Default value: 30

PATH VARIABLES stateguam Required. A valid US state name, validated in the array returned from /v2/historical/usacounties.

CHART: https://www.chartjs.org/


Development Commands

  • npm i: install project dependencies
  • npm run dev: will run the front end and the back end concurrently.

TODOS

  • Conditional render the inital page on load up to not show default values.
  • Split the stat display component up into 3 parts.
  • Possibly make this work for multiple states

react-covid19-tracker's People

Contributors

codyveladev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.