MCPcopy Index your code
hub / github.com/act-now-coalition/covid-act-now-website

github.com/act-now-coalition/covid-act-now-website @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,646 symbols 4,795 edges 716 files 46 documented · 3% updated 58d ago★ 74
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

[!CAUTION] This page is no longer being updated due to limited data availability. We continue to surface this content for archival purposes.

Covid Act Now

This is the code repository for https://covidactnow.org/.

Overview

A single page react app, created via create-react-app. Routing through react-router.

Set Up

Make sure you have node installed. nvm is recommended to manage your node installation so you can easily switch between versions. Node v22.x is recommended. Once nvm is installed:

nvm install v22
nvm alias default v22

Get the repo from github

git clone https://github.com/act-now-coalition/covid-act-now-website.git

Then install the correct dependencies locally via yarn.

yarn install

Then start the local dev server:

yarn start

The website should be thriving on http://localhost:3000/

Code should be automatically linted and formatted on commit, but to manually run the linter (which also reformats code with prettier) you can run:

yarn lint-fix

Testing

Testing is run via jest.

yarn jest

Updating the Data Snapshot, Map Colors, etc.

The website renders data that's read from an API data snapshot (e.g. https://data.covidactnow.org/snapshot/123/v2/). Every day we update the website to point at the newest data snapshot. As part of this we also must update our map colors to reflect the new status of states / counties, etc.

This is all automated (to do the updates and generate a Pull Request). To kick off the process you must get a personal access token, and run:

export GITHUB_TOKEN=<YOUR PERSONAL GITHUB TOKEN>
./tools/update-snapshot.sh <snapshot>

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 1,159
Interface 262
Method 148
Enum 42
Class 35

Languages

TypeScript100%

Modules by API surface

src/common/regions/types.ts60 symbols
src/components/Explore/utils.ts47 symbols
src/common/models/Projection.ts42 symbols
src/common/utils/compare.ts19 symbols
src/components/Charts/utils.ts18 symbols
src/common/regions/utils.ts18 symbols
src/common/regions/region_db.ts18 symbols
src/cms-content/learn/index.ts18 symbols
src/api/schema/RegionSummaryWithTimeseries.d.ts18 symbols
src/api/schema/AggregateRegionSummaryWithTimeseries.d.ts18 symbols
src/common/models/ProjectionsPair.ts17 symbols
src/screens/internal/CompareSnapshots/OptionsSelector.tsx15 symbols

For agents

$ claude mcp add covid-act-now-website \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page