Replace data jsons with similar graphql api calls which are issued on page load #5

Closed
opened 2020-05-30 19:27:06 +02:00 by christoph.lienhard · 1 comment
christoph.lienhard commented 2020-05-30 19:27:06 +02:00 (Migrated from git.verdigado.com)

Currently the data needed for the user app is stored in huge data jsons in candymat-user-app/src/data.

This has to be replaced by appropiate calls to the new graphql backend.

To achieve this

  • Introduce Apollo as a graphql client lib
  • Create graphql requests which have the same strucutre as the original jsons
  • Ensure that these calls are made once on page load (and on refresh)
Currently the data needed for the user app is stored in huge data jsons in [candymat-user-app/src/data](https://git.netzbegruenung.de/Netzbegruenung/candymat-user-app/src/branch/master/src/data). This has to be replaced by appropiate calls to the new graphql backend. To achieve this * Introduce Apollo as a graphql client lib * Create graphql requests which have the same strucutre as the original jsons * Ensure that these calls are made once on page load (and on refresh)
christoph.lienhard commented 2020-08-22 21:20:53 +02:00 (Migrated from git.verdigado.com)

closed with this PR in the candymat-user-app

closed with [this PR](https://git.verdigado.com/Netzbegruenung/candymat-user-app/pulls/6) in the candymat-user-app
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NB-Public/kandimat#5
No description provided.