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

Add GraphQL data from OSO #70

Merged
merged 6 commits into from
Mar 19, 2024

Conversation

escottalexander
Copy link
Collaborator

@escottalexander escottalexander commented Mar 17, 2024

This PR switched from using the csv data to using the actual data provided by OSO. To run locally you will need to add this to your .env file:
OSO_GRAPHQL_ENDPOINT=https://opensource-observer.hasura.app/v1/graphql

Closes #64

Copy link

vercel bot commented Mar 17, 2024

@escottalexander is attempting to deploy a commit to the BuidlGuidl Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Mar 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
impact-calculator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 3:28pm

Copy link
Collaborator

@swellander swellander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@escottalexander this is great, feels good to be getting our data from a live source!

I left a few questions/comments, mostly for my own understanding.

packages/nextjs/.env.example Outdated Show resolved Hide resolved
packages/nextjs/pages/api/impact/index.ts Outdated Show resolved Hide resolved
packages/nextjs/pages/api/vectors.ts Outdated Show resolved Hide resolved
packages/nextjs/pages/api/impact/index.ts Show resolved Hide resolved
packages/nextjs/pages/api/impact/index.ts Show resolved Hide resolved
packages/nextjs/pages/api/impact/index.ts Show resolved Hide resolved
swellander
swellander previously approved these changes Mar 19, 2024
Copy link
Collaborator

@swellander swellander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet this looks great! Thanks for answering questions and making changes

@swellander
Copy link
Collaborator

I pushed up that small change to the OSO_GRAPHQL_ENDPOINT not defined error message

@escottalexander escottalexander merged commit 0866efb into BuidlGuidl:main Mar 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Integrate GraphQL queries in place of csv data
2 participants