🏠 Homepage
✨ Demo
npm install
ng build
npm install
ng serve
Rename config.example.json to config.json and fill in the details
{
"redis": {
"host": "host",
"password": "1234"
},
"keys": {
"all": "coronastatistics:all",
"countries": "coronastatistics:countries",
"timeline": "coronastatistics:timeline",
"timelineglobal": "coronastatistics:timelineglobal"
},
"interval": 600000
}
npm install
node server.js
Edit src/app/core/services/getdata.service.ts and replace with your own api url.
private host = "https://api.coronastatistics.live"
- http://api.coronastatistics.live/all
- http://api.coronastatistics.live/countries
- http://api.coronastatistics.live/countries?sort={parameter}
- http://api.coronastatistics.live/countries/{country_name}
- http://api.coronastatistics.live/timeline
- http://api.coronastatistics.live/timeline/global
- http://api.coronastatistics.live/timeline/{country_name}
👤 Ossama Rafique
- Website: https://www.ossamarafique.com
- Twitter: @OssamaRafique
- Github: @OssamaRafique
- LinkedIn: @OssamaRafique
- Buy me a Coffee: https://ko-fi.com/ossamarafique
Give a ⭐️ if this project helped you!