oursky / likedao

Apache License 2.0
1 stars 4 forks source link

LikeDAO

LikeDAO is a web app to facilitate participation and discussion in LikeCoin Chain's governance.

Built using React, GraphQL, Golang and PostgreSQL. Deployed with Kubernetes and Helm.

Architecture

Architecture Diagram

See Architecture Docs for more details.

Development

Quick Start

# Target genesis url for bdjuno to parse from
export GENESIS_URL=https://raw.githubusercontent.com/likecoin/mainnet/master/genesis.json

make setup
docker-compose up

# In another tab

make -C react-app dev

Note that it will take BDJuno some time to get data populated to the database

Then visit http://localhost:3000

Prerequisite

Requirements

Managed by asdf

Customization

The LikeDAO is a generic DAO platform that does not only work with the LikeCoin chain but also other Cosmos-based chain, the following states the customizable configurations that can be modified to make the app work with one's favourite chain.

See Customization Docs

React App

Please visit here for more information

GraphQL Server

Please visit here for more information

BDJuno

Please visit here for more information

Deployment

Pick what version you would like to deploy, or build the images yourself as follow.

  1. Run make docker-build
  2. Run make docker-push

After ensure the images are in place, follow the instruction in deploy folder.

Contributing

See Contributing Docs