Giter Site home page Giter Site logo

beat_covid_19's Introduction

Beat_Covid_19

A full stack project starter code for NodeJS.

Process Of the whole full_stack

Diagram

The frontend is a simple web page that takes to country name: country_name and sends it to the backend using HTTP GET request. The backend is a simple NodeJS server that processes the HTTP GET request, reads the parameters country_name and search its statsitics in database(got from CSSE at Johns Hopkins University (https://github.com/CSSEGISandData)) and returns the result back to the frontend. By default frontend listens on port 8000, and backend listens on port 9000.

Tools

Frontend

Bootstrap4 + HTML + JQuery + CSS

Backend

Node.js + express

Api URL

https://github.com/CSSEGISandData

Install NodeJS

You can install NodeJs from here.(https://nodejs.org/en/download/).

Running this package To download and install:

git clone https://github.com/maddoxyuan1202/Beat_Covid_19.git
cd Beat_Covid_19
npm install

Running Backend:

cd backend
node app.js

You can test backend by installing and running Postman:

postman_backend

Running Frontend:

cd frontend
node app.js

Then open your browser to http://localhost:8000:

screenshots of the demo

Frontend

Link to the video

https://drive.google.com/file/d/1VcigbS_b3ZRQ49HIUcUdK7Ka2RKXyDvT/view?usp=sharing

future work

use GeoJson file to show the data on a map to help user to have a clearly understanding of the present situation. User a api database like mangondb to store the data in it, in this way, the update of data will be more effective.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.