Home
Softono

Graphql Pokemon

Open source JavaScript
502
Stars
75
Forks
10
Issues
7
Watchers
3 years
Last Commit

 About Graphql Pokemon

Get information of a Pokémon with GraphQL!

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing Graphql Pokemon?

We provide expert installation service for this software. Our team will install, configure, and secure Graphql Pokemon on your server. plans start at just $30.

Graphql Pokemon

View on GitHub

GraphQL Pokémon

Get information of a Pokémon with GraphQL!
See the GraphiQL interface

How to use

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!

Running

Production

yarn
yarn run build-app
yarn start

Development

yarn
yarn run watch # Using nodemon for auto-reloading

or

vercel dev # npm i -g @now/cli

Disclaimer

This was built as part of a talk on Relay & GraphQL at @ReactSP meetup, check us out, we build cool stuff. ;)

Related Projects

  • Pokemon Gopher - Fetch information about pokémons with GraphQL and GO 🙂