Coder Social home page Coder Social logo

covidmap / app Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 2.18 MB

coming soon - realtime/interactive map of COVID-19's impact on the global health system

Starlark 43.44% Makefile 8.20% Dockerfile 0.42% CSS 3.51% JavaScript 12.67% Kotlin 20.02% HTML 5.91% Shell 0.74% Java 5.09%
covid-19 coronavirus coronavirus-dataset covid coronavirus-tracker

app's Introduction

COVID Impact Map Build status

With the threat of COVID-19 looming large across the global healthcare system, many ragtag software teams have sprung up to build tools that might help. Most, however, focus on tracking the virus itself, not the virus' local impact on the healthcare system that must respond to it - which is a big problem, for all of us.

Because this data really doesn't exist, we're creating it with a few inputs, and then this piece of software turns that into a useful app. We are going to be accepting crowd-sourced inputs for certain report types, and others will be available only for healthcare staff.

At the end of the day, this repo is made by concerned citizens/volunteers, and we're trying our best. If the app doesn't work, we're very sorry, we are probably working on it right now (as long as the world is still under quarantine). If it doesn't accomplish what you need, we're all ears. In both cases - file a bug, or PRs are certainly welcome.

-COVID Impact Map Team

Slack / Productboard

If you'd like to contribute, or join our Slack channel (to help us or keep us company!) fill out the form link below. For Productboard access, do the same, and in both cases make sure the email you list is the one where you want to receive your invite.

Productboard lets you suggest features, vote on features, and see the roadmap in realtime.

Development process

First, clone the repo. Then, make sure you have Bazelisk and make working in your environment. If you want to use the auto-reload/auto-rebuild functionality, you'll also need to install ibazel. Once you've done that, you should basically be set to go!

You can run make help to get a list of local dev commands. That should output something like the following:

COVID Impact Map:

build                          Build the app.
clean                          Clean ephemeral build targets.
deploy                         Deploy the app to production.
dev                            Build the app, start it up, and auto-reload with changes.
distclean                      Clean ephemeral targets and dependencies.
forceclean                     DANGEROUS: Wipe all local changes and force-reset codebase.
gateway                        Build and push the gateway (Envoy) container image.
help                           Show this help text.
image                          Build a container image for the app, locally.
push                           Build and publish a container image for the app, tagged with the current source tree hash.
run                            Run the app locally.
test                           Run any testsuites.

So you can just run make build to build the app, or make run to run it locally. If you run it locally, the app will be available at http://localhost:8080 by default.

Simulating production

To simulate the full production stack, the app makes use of Skaffold. The tool is intelligent enough to push the entire app to your local Kubernetes cluster, and keep it up to date as you develop. In this operating mode, you should do the following additional steps to get it fully working:

  1. Add 127.0.0.1 beta.covidmap.link to your /etc/hosts (or equivalent on your OS)
  2. Visit https://beta.covidmap.link:8443 in your favorite browser

Team behind this app

Coming soon.

Licensing

This app will be released under the MIT license. For other licensing details, see GUST, the framework this app is written with.

app's People

Contributors

sgammon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

app's Issues

Hospital Pins: Nationwide

Description

We need to plot pins on the map (defined in #5), for every hospital we know of in our dataset, which currently covers the continental United States + Alaska + Hawaii.

We should plot these points on the map as individual pins, for now all the same shape. Later we should try and vary the shape/icon based on facility type.

Pins should change color based on recent status reports

Description

Based on the most recent reports submitted on the app, the pins for each hospital should change color. As pressure on a given facility increases, it should reflect the current state of that pressure on the map.

For instance, the map should depict a blue/regular color dot when no pressure is experienced at a healthcare facility, and perhaps orange or red if high pressure is experienced at the facility (with varying shades in between to indicate degree).

Part of #7.

Access: Public, Short Domain

covidmap.com and c19map.com were taken. i have c19status.com
I'm requiring it to be a .com, sorry (can also have a separate tinyurl if desired)

any other ideas will be entertained 👍

subfeatures:

  • covidmap.link (#3)
  • c19status.com (#4)

Form: Report Submission

So far we've chosen Google Forms for this. That should suffice for now, as long as we can get responses out of Google Forms easily, and as long as (operationally) it doesn't present a burden to reporting users.

UPDATE: We are probably building a form. We'll see.

Map Interface

Description

The main interface for the COVID Impact Map is, well, a map. This may not be a huge surprise. Basically, when you load up the app, there should be a giant map interface that takes up the predominant amount of screen real estate.

The user should be able to scroll, pan, and zoom. They should be able to easily locate an area on the map using a search box, which we can hook up to Google's Places API.

Notable Features

The map needs to support:

  • Pins laid out on the map for each hospital that we have in the dataset
  • Ability to click each pin, which reveals a fly-over that describes basic metadata regarding the selected location
  • An option to browse to a detail page for the selected hospital

All of the above should be outlined in tickets under this major component.

Should require submitter to confirm source

Source *

First-hand (I am experiencing this)

Second-hand (I was told directly by a first-hand source)

Social media (require to copy/paste source link)

Other: __________

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.