Skip to content

OssamaRafique/Covid-19-Statistics-Dashboard-Angular-9

Repository files navigation

(Unmaintained Repo) Welcome to 🦠 COVID-19/Corona Statistics Dashboard Angular 👋

Version Version License: MIT Buy Me A Coffee Twitter: OssamaRafique

Covid Stats Live Dashboard

Demo

Screenshots

Covid Stats Live Dashboard Screenshot 1

Covid Stats Live Dashboard Screenshot 2

Covid Stats Live Dashboard Screenshot 3

Covid Stats Live Dashboard Screenshot 4

Covid Stats Live Dashboard Screenshot 5

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

Author

👤 Ossama Rafique

Show your support

Give a ⭐️ if this project helped you!

ko-fi