/governance-dashboard

Governance Dashboard (front-end part)

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Maker Governance Dashboard

The Primary Interface for Dai Credit System Governance

GitHub License Build Status Coverage Status

Internal governance resources

Getting started

Install project dependencies

yarn

Running the Gov Dashboard

For development

yarn start

For production

yarn build

Running Tests

yarn test

Configuring the Backend

By default the production backend (content.makerfoundation.com) will be used, but you can also set the REACT_APP_GOV_BACKEND environment variable in src/reducers/proposals.js to one of the following to override this:

  • local: uses a local dev copy of the backend (127.0.0.1:3000)
  • staging: uses the staging backend (elb.content.makerfoundation.com:444)
  • mock: uses the mocked backend (see /src/_mock/topics.js)

Also Note , to run on your Local Machine change the start parameter in package.json from "HTTPS=true NODE_ENV=development craco start" to just "craco start"

Maker Packages

This project takes advantage of several other maker projects, including Maker UI Components, Dai.js, & The Dai Governance Plugin.

Code Style

We run Prettier on-commit, which means you can write code in whatever style you want and it will be automatically formatted according to the common style when you run git commit.

The Maker Governance Dashboard is available under the MIT license included with the code.