Get information of a Pokémon with GraphQL!
See the GraphiQL interface
Simply get Pokémon's information through queries in GraphQL, example:
query {
pokemon(name: "Pikachu") {
id
number
name
attacks {
special {
name
type
damage
}
}
evolutions {
id
number
name
weight {
minimum
maximum
}
attacks {
fast {
name
type
damage
}
}
}
}
}
Try this query here!
Check out the React Relay Pokémon Project and Live Demo too!
yarn
yarn run build
yarn start
yarn
yarn run watch # Using nodemon for auto-reloading
This was built as part of a talk on Relay & GraphQL at @ReactSP meetup, check us out, we build cool stuff. ;)
- Pokemon Gopher - Fetch information about pokémons with #graphql and #go 🙂