CitizenDAO / Impact-Protocol

Citizen DAO's platform for launching social impact projects.
https://app.citizendao.io/
MIT License
6 stars 5 forks source link

Integrating Discourse with our React frontend #7

Open BrennenHodge opened 2 years ago

BrennenHodge commented 2 years ago

What we need to accomplish:

Note: We need to quickly determine if integrating Discourse is the best option. If not, we need to build our own project submission & management functionality.

We need a way for people to submit project proposals, have a discussion about the proposals, and request funding from the DAO.

On the other side, DAO members need to be able to discover projects, discuss them, and stake CDAO on the ones they believe would produce the most impact.

One way to think of this is a two-sided marketplace that connects people with ideas to the people who can help them build their ideas.

This all needs to be done at https://app.citizendao.com/.

I recorded two Looms describing what we need to do. Here's the first, and here's the second.

How people should submit project proposals:

  1. Connect a Web3 wallet to use as your account.

  2. Add your email for updates on your project.

  3. You create your project page, which includes the proposal with all relevant details. Images and videos will be required.

  4. This project page is basecamp for funding, communication, collaboration, etc. For example, see Mirror or Juicebox. Mirror is VERY close to what I’m thinking.

  5. You should be able to select various attributes describing the project (funding needed, types of skills needed, countries, languages, etc.). The purpose for clean, structured variables is for automated curation/filtering of diverse projects. Think “eHarmony for project compatibility” across multiple dimensions. We could possibly leverage the Discourse tag system for this.

  6. You should be able to discuss your project with interested parties on the same page you posted on. This would be similar to any forum post on Discourse with replies.

  7. You must stake CDAO on your own project before it's eligible for funding.

How people should vote on project proposals:

  1. DAO members need to be able to view the project's page and stake CDAO on the same page. See Mirror for embedded Web3 functionality.

Possible Alternatives:

It might be easier to build our own project submission/management platform vs trying to leverage Discourse.

In the first Loom video, I walked through HWC. This was very close to what we need to build. They have shutdown the website, but their repo is available: https://www.helpwithcovid.com/

Relevant discussions on integrating Discourse & React:

Cryptocurrency tip system feature: https://meta.discourse.org/t/cryptocurrency-tip-system/92531

Here is a project pitch for someone to build a “Login with Metamask” feature for Discourse: https://meta.discourse.org/t/hiring-discourse-metamask-integration-plugin/90857. Here is what Santiment is using now (try creating an account): https://community.santiment.net/

Another project proposal for a Web3 login plugin for Discourse: https://daotalk.org/t/proposal-creation-of-web3-login-plugin-for-discourse/2029

Using React components with Discourse’s Ember frontend: https://medium.com/front-end-weekly/using-react-components-in-your-ember-app-8f7805d409b0

Using a React frontend with Discourse backend: https://meta.discourse.org/t/using-messagebus-with-a-custom-discourse-frontend-app-on-a-different-origin/142904

Discourse thread integration on a React website: https://dev.to/shahbaz17/discourse-thread-integration-on-a-react-website-4369

architec commented 2 years ago

This is a very broad topic. We need to break this down into much smaller tasks.