Clone the repo:
git clone https://github.com/onefact/payless.health.git
If needed, install the node package manager npm
and the Node Javascript package with Homebrew on Mac -- brew install node
after installing Brew using this link. On Windows, use Chocolatey to install by running choco install nodejs-lts
after installing Chocolatey.
Install the dependencies for Markdoc:
cd payless.health
npm install --legacy-peer-deps
Run the website generation with the node package manager:
npm run dev
In a web browser, navigate to http://localhost:3000 to view any changes you make to the code.
We recommend Visual Studio Code to edit this website (you can also install this with Homebrew or Chocolatey).
We received a grant from Columbia University and Stanford University through their Brown Institute for Media Innovation: https://brown.columbia.edu/22-23-magic/
We are a 501(c)(3) nonprofit foundation -- the One Fact Foundation -- headquartered in New York City.
Now we are working with dolthub.com to link negotiated rates with prices at every one of 7000+ hospitals in the United States.
We are conducting user research in disadvantaged areas (as measured by household income below $50,000 and at least one household member on Medicaid health insurance), starting in New York before expanding nationwide:
The roadmap is here: https://github.com/orgs/onefact/projects/2
Our KPI is the median price of hospital procedures, treatments, medications in the United States across all negotiated rates and hospital prices. If this decreases every quarter, we get promoted.
This code uses Markdoc as a backbone to render the One Fact Foundation website, alongside the rest of our web properties.
GitHub Pages does not support some features of Next.js
as this library is maintained and aligned with Vercel whose business model depends on differentiating features from GitHub Pages.
One example is incremental static regeneration, which is critical to some of our web properties at the One Fact Foundation.
You can use this GitHub Action to deploy the website using only GitHub technology: https://github.com/onefact/onefact.org/blob/main/.github/workflows/nextjs.yml
If you cannot afford Vercel and need any help deploying to GitHub Pages please email us at [email protected] and we will do our best to help :)
We got to give a talk at an NIH conference called aim-ahead.net recently on the state of the US healthcare system, and what we can do about it: https://bit.ly/onefact-keynote
Subscribe to our mailing list to learn when we launch: https://tinyletter.com/payless-health
Software is Apache 2.0. Content is CC-BY-SA 4.0.
Say hi! If you have a story to share about your journey trying to pay less for the health care you deserve, please share it with us: [email protected].
Use act to test GitHub Actions deployment locally.
Fork this repo, go to settings > pages > source. In the dropdown, select Github Actions.