Open shenanigansd opened 2 years ago
https://github.com/Ukraine-Relief-Efforts/ukraine/pull/180 Above PR added graphql endpoint, queries and an example call using a query in index.js
Currently it looks like we have a single "Model" of "Fundraiser". Is this correct?
How are we planning on filtering and organizing the fundraisers on the website? The reason I ask, is because I don't see data on the model that makes this easy to do on the frontend. It looks like we should be filtering on smallOrganization
wether it is True or False. Is that correct?
I chatted with @shenanigansd and sounds like we might be hitting a limit for users there. I'm not sure if there is a way I can get access or if we can schedule a time to do a screen share with someone that does have access.
Do we want to split this issue up a bit? I'm having a difficult time telling where to start and not sure which data is currently populated and ready to be used.
Data persistence is being moved to Contentful. We will need to update the app to use the new API.
The GraphQL endpoint is:
https://graphql.contentful.com/content/v1/spaces/{space_id}
The space's ID will be in theCONTENTFUL_SPACE_ID
environment variable.There are two API bearer tokens:
CONTENTFUL_PREVIEW_ACCESS_TOKEN_GRAPHQL
for preview dataCONTENTFUL_ACCESS_TOKEN_GRAPHQL
for production dataThe data model is under review and subject to change until #155 is completed.