Skip to content
dApp that tracks charity spends and requests proof of spends for accountability and transparency.
CSS JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
react-ui
server
.gitignore
.nvmrc
LICENSE
README.md
app.json
package-lock.json
package.json

README.md

Charity Watchdog (ETH Denver Hackathon 2019 Submission)

Please note that this app was developed specifically for ETH Denver hackathon. Goal: Using the Ethereum network to bring transparency and accountability to charity spends.

Local Development

Because this app is made of two npm projects, there are two places to run npm commands:

  1. Node API server at the root ./
  2. React UI in react-ui/ directory.

Run the API server

In a terminal:

# Initial setup (install dependencies based on package-lock.json)
npm ci

# Start the server
npm start

Install new npm packages for API server

npm install package-name --save

Run the React UI

The React app is configured to proxy backend requests to the local Node server. (See "proxy" config)

In a separate terminal from the API server, start the UI:

# Always change directory, first
cd react-ui/

# Initial setup (install dependencies based on package-lock.json)
npm ci

# Start the React front-end
npm start

Install new npm packages for React UI

# Always change directory, first
cd react-ui/

npm install package-name --save
You can’t perform that action at this time.