-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adds GraphQL #602
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
Adds GraphQL #602
Conversation
graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmness.yaml
Show resolved
Hide resolved
phalt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good to me. Do we promote it wider at the beta phase to test it out? Would be good to get some load testing done. I can use the twitter account to let people know.
|
Great Paul, I'll merge the PR. We could add something on Twitter and also add a banner on the official website. |
|
A PokeAPI/api-data refresh has started. In 45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data. |
Hi,
this PR brings in the ability to spin up a GraphQL server based on our PostgresQL tables. Currently the setup works only with the docker-compose installation. It's based on Hasura Engine (https://github.com/hasura/graphql-engine).
An hasura engine is started along pokeapi with docker compose. When pokeapi is built, Hasura can be started with
makeand all the metadata contained in the folder/graphqlwill be loaded in. In few seconds Hasura reads the pokeapi DB and exposes a custom private GraphiQL instance on port 8080. For more info browse this PR's README.4 GraphQL examples are also present in
/graphql/examples.Some README sections were moved.