Covid-19-Statistics-Dashboard-Angular-9
Covid-19-Statistics-Dashboard-Angular-9 copied to clipboard
🦠Corona Virus / Covid 19 Tracker Dashboard With Awesome UI + PWA + NodeJS Scraper
Welcome to 🦠 COVID-19/Corona Statistics Dashboard Angular 9 👋
🏠 Homepage
✨ Demo
✨ Join Discord Server For Help
Screenshots
Build the Angular project
npm install
ng build
Run the Angular Project
npm install
ng serve
Run the Node.js Project (open server folder)
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"
API Endpoints
- 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}
Author
👤 Ossama Rafique
- Website: https://www.ossamarafique.com
- Twitter: @OssamaRafique
- Github: @OssamaRafique
- LinkedIn: @OssamaRafique
- Buy me a Coffee: https://ko-fi.com/ossamarafique
Show your support
Give a ⭐️ if this project helped you!