Skip to content

moarsel/openfund

Repository files navigation

Netlify Status

OpenFund

OpenFund is an open source fundraising platform that implements quadratic funding. It's built on Redwood.js using a serverless Jamstack architecture.

View the demo app here: TryOpenFund.netlify.app

Video overview of the demo here: https://www.youtube.com/watch?v=IBWIBQw2U0A

Why

"In the traditional nonprofit funding model, individual contributions are made without a specific purpose and the expenditure of funds is subject to decisions made by the central recipient."

"In turn, Quadratic Funding (QF) is a more democratic and scalable method to fund public goods like the work of a nonprofit organization."

"We hope that a RxC Quadratic Funding program helps RadicalxChange Foundation to attract more contributions from the RxC community and at the same time, allocates our budget to projects that reflect the community needs."

Tech Stack

This repository is built with:

  • Redwood.js for the fullstack framework
  • React and Tachyons for the UI
  • Stripe for payment processing
  • Netlify for managing auth and hosting
  • Postgres for DB hosting

Development Setup

We use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:

yarn install

Then create some dummy data:

yarn rw db up
yarn rw db seed

Fire it up

yarn redwood dev

Your browser should open automatically to http://localhost:8910 to see the web app. Lambda functions run on http://localhost:8911 and are also proxied to http://localhost:8910/.redwood/functions/*.

Deploy your own copy

We rely on several platforms to do the heavy lifting for us.

  1. Create a Postgres database on Heroku by clicking the button below, and then get your database url on the "credentials page".

Deploy

  1. Create a Stripe account, then go to the developer section to get your API keys

Stripe Dashboard

  1. Create a Netlify account, click the button below, and add the required environment variables collected above

Deploy to Netlify

Quadratic Funding Algorithm