reflow-project / weloop

WeLoop is a React/TypeScript client for ZenPub and a key component of ReflowOS
https://weloop.reflowproject.eu
GNU Affero General Public License v3.0
5 stars 5 forks source link

Migration to Bonfire #167

Open pral2a opened 2 years ago

pral2a commented 2 years ago
  1. Legacy migration work https://github.com/reflow-project/weloop/issues/121 Most of the issues here are solved.

  2. Bonfire public instance for development is here https://reflow-demo.dyne.org/api/graphql and documentation available https://reflow-demo.dyne.org/api/explore. Also, the main documentation in reflowos.dyne.org is updated except for the API Tour page.

  3. Changing remote server: In the .env file replace REACT_APP_GRAPHQL_ENDPOINT=https://api.reflowproject.eu/api/graphql (ZenPub) by REACT_APP_GRAPHQL_ENDPOINT=https://reflow-demo.dyne.org/api/graphql (Bonfire) and run yarn start.

  4. Almost all the existing queries and mutations are now implemented in the new Bonfire. See issue https://github.com/dyne/reflow-os/issues/18#issuecomment-980452099

  5. However some minor changes are required. Preliminary list:

{
  economicResource(id: "ID") {
    id
    trace {
      __typename
      ... on Process {
        id
      }
      ... on EconomicEvent {
        id
      }
    }
  }
}
adam-burns commented 2 years ago
1. Bonfire public instance for development is here https://reflow-demo.dyne.org/api/graphql and documentation available https://reflow-demo.dyne.org/api/explore. Also, the main documentation in [reflowos.dyne.org](https://reflowos.dyne.org/) is (in principle) updated.

Note the documentation exception in that the API Tour page is not yet updated.

pral2a commented 2 years ago

@adam-burns I updated the issue accordingly