Arabic CoronaBoard
Global dashboard in Arabic for monitoring Corona virus(COVID-19).
Website
Build & Run
Prerequisite
$ npm install -g nodemon
$ npm install
Development Mode
Run on terminal
$ npm run watch
$ npm run dev
Production Mode
Run on terminal
$ npm run build
$ npm run production
PM2
Run as daemon using$ npm run build
$ npm start
Dockerize
Build docker image
Enable Docker Buildkit to speed up build
$ DOCKER_BUILDKIT=1 docker build -t <dockerhub_username>/<dockerhub_repo_name>:latest .
Run
$ docker run -p 3000:3000 <dockerhub_username>/<dockerhub_repo_name>:latest
Push docker image to DockerHub
$ docker push <dockerhub_username>/<dockerhub_repo_name>:latest
Deploy App to Amazon's EKS (CloudFormation)
Create EKS Cluster (Control Plane, and Worker Nodes) and deploy Corona app
cloudformation folder includes scripts for building the environment depicted in the following graph.
Kubernetes Service and Deployment for the app is inside ./cloudformation/k8s_corona.yaml file
To build the environment and deploy the app
$ ./cloudformation/deploy_corona_app.sh
Attribution
- Forked from Soable corona-board project Corona Board
- Global Corona Dashboard powered by StickyBoard
- API deployed and operated by Ainize
- Data provided by JHU CSSE