Skip to content

🗺️ A helpful map of nearby resources in times of crisis.

Notifications You must be signed in to change notification settings

brandonlou/OKorona

Repository files navigation

OKorona

OKorona is an all-in-one resources map for the COVID-19 pandemic and can be expanded to other crisis. It displays foodbanks, testing locations, and stores around the user's location on an interactive, searchable map.

As of now, only locations in the United States are supported.

App Features:

  • Autocomplete search to get resource information at a particular location.
  • Upvote/downvote resources to rate a particular resource's reliability.
  • Google Maps navigation - Users have the option to open Google Maps to get directions to a particular resource.
  • Add a resource found by the user, although for security/verification purposes, this will require the creation of an account.
  • Sign-up and login for users to personalize their experience
  • And more!

Sources of Data

OKorona sources its data from crowd-sourced APIs. Although, the authenticity of all resources is not guaranteed, the sources we have used are reliable for the most part.

How to run locally

  1. Install Node.js. Verify you have node and npm installed by running node -v and npm -v.
  2. Clone this repository with git clone https://github.com/brandonlou/OKorona.git.
  3. cd OKorona
  4. Run npm run build to automatically install server and client dependencies.
  5. Run this webapp locally by running npm start from the project root.

Notes

  • If you want to add a node module, remember to use the --save flag so npm updates the package.json and package-lock.json files accordingly. If you want to add developer dependencies, use the --save-dev flag.
  • To only run the Node.js server locally, run npm run server from the project root.
  • Similarly, to only run the React client server locally, run npm run client from the project root.
  • WebGL must be enabled in order for the map to render.
  • Some fingerprint resisting security features on your browser may need to be disabled in order for certain map symbols to load correctly.