MustafaTaqi / arabic-corona-board

Arabic Corona Board View Latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arabic CoronaBoard

Global dashboard in Arabic for monitoring Corona virus(COVID-19).

Website

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

Run as daemon using PM2

$ 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.

Arabic Corona Board EKS Environment

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

About

Arabic Corona Board View Latest

License:MIT License


Languages

Language:JavaScript 95.7%Language:HTML 1.8%Language:Shell 1.6%Language:CSS 0.7%Language:Dockerfile 0.2%