Skip to content

yanarp/covid19-full-stack-application

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coronavirus - (COVID-19) Full Stack Application

The idea behind this application is to displays the statistics of Coronavirus COVID-19 around the world and the data are being collected from Johns Hopkins University Center for Systems Science and Engineering JHU CSSE and it updates the cases constantly on this website around the world.

Technical Overview

This is a full-stack application which runs react.js in front-end and node.js in the back-end and it parses the data from JHU CSSE and stored in MongoDB database.

And it uses Mapbox to populate the coordinates on the map using GeoJSON format.

Website Link

https://covid19.hackbotone.com

Server Installation

cd server 
npm install
node app.js

Open http://localhost:9000 to view it in the browser.

Client Installation

cd client 
npm install
npm start

Open http://localhost:3000 to view it in the browser.

Change the constants values in Client app

export const BASE_URL = `http://YOUR_LOCAL_IP_ADDRESS:9000`;
export const MAPBOX_ACCESS_TOKEN = `YOUR_MAPBOX_API_TOKEN`;

MAPBOX Styles

These two below styles i have made public and it should work when you use your own MAPBOX_API_TOKEN

mapbox://styles/hackbotone/ck8vtayrp0x5f1io3sakcmpnv
mapbox://styles/hackbotone/ck8vt8vdj2fz91ilax6nwtins

Note

If you face any problem or have any suggestion on improving the code then feel free to raise an issue.

Blog & Youtube explanation

https://hackbotone.com/blog/covid-19-full-stack-application

https://www.youtube.com/watch?v=dth5jfLDuus&t=16s

About

Coronavirus - (COVID-19) Full Stack Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 67.9%
  • CSS 29.5%
  • HTML 2.6%