Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from Google Sheets to Contentful's GraphQL API #156

Open
Tracked by #363
shenanigansd opened this issue Apr 11, 2022 · 2 comments · Fixed by #231 · May be fixed by #268
Open
Tracked by #363

Move from Google Sheets to Contentful's GraphQL API #156

shenanigansd opened this issue Apr 11, 2022 · 2 comments · Fixed by #231 · May be fixed by #268
Assignees

Comments

@shenanigansd
Copy link
Member

shenanigansd commented Apr 11, 2022

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 the CONTENTFUL_SPACE_ID environment variable.

There are two API bearer tokens:

  • CONTENTFUL_PREVIEW_ACCESS_TOKEN_GRAPHQL for preview data
  • CONTENTFUL_ACCESS_TOKEN_GRAPHQL for production data

The data model is under review and subject to change until #155 is completed.

@geositta
Copy link
Collaborator

#180
Above PR added graphql endpoint, queries and an example call using a query in index.js

@roseja
Copy link
Collaborator

roseja commented May 2, 2022

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.

@Frempt Frempt self-assigned this Jun 17, 2022
@shenanigansd shenanigansd linked a pull request Oct 27, 2022 that will close this issue
4 tasks
@shenanigansd shenanigansd changed the title Move to Contentful's GraphQL API Move from Google Sheets to Contentful's GraphQL API Oct 27, 2022
@shenanigansd shenanigansd mentioned this issue Oct 27, 2022
4 tasks
@shenanigansd shenanigansd added the up for grabs Available for anyone to work on label Nov 23, 2022
@shenanigansd shenanigansd self-assigned this Nov 24, 2022
@shenanigansd shenanigansd removed the up for grabs Available for anyone to work on label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Development: To-Do
4 participants