Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 919 Bytes

README.md

File metadata and controls

53 lines (40 loc) · 919 Bytes

To start the application

Run npm install

npm start

open localhost:3000

API Endpoints used

GET requests returns historic data regarding active cases, deaths and recoveries (COVID 19)

cases:{ ['1/2/2022',89] ... } deaths:{ ['1/2/2022',89] ... } recovered:{ ['1/2/2022',89] ... }

GET request return object containing country specific information regarding covid 19

[ { country:String, active:Number, deaths:Number, recovered:Number ... } ... ]

GET request return object containing world wide information regarding covid 19

{
    total:Number,
    active:Number,
    deaths:Number,
    recovered:Number
    ...
}