Skip to content
This repository was archived by the owner on Jun 30, 2020. It is now read-only.

Latest commit

 

History

History
86 lines (62 loc) · 1.99 KB

File metadata and controls

86 lines (62 loc) · 1.99 KB

Bienvenido al repositorio del sitio coronavirus-mx

License: MIT Twitter: MelchorPinto

Panel de información

Screenshots

Covid Stats Live Dashboard Screenshot 2

Covid Stats Live Dashboard Screenshot 3

Covid Stats Live Dashboard Screenshot 4

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.

Author

👤 Julio Melchor

Show your support

Give a ⭐️ if this project helped you!

PayPal