• Stars
    star
    503
  • Rank 87,705 (Top 2 %)
  • Language
    JavaScript
  • Created about 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Get information of a Pokémon with GraphQL!

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 🙂

More Repositories

1

react-native-thumbnail-video

Easily show thumbnails for videos on react-native.
JavaScript
106
star
2

reminders-cli

Command-line interface to interact with the Reminders.app
JavaScript
89
star
3

react-relay-pokemon

Use React & Relay as your Pokedex!
JavaScript
86
star
4

menubar-brightness

MacOS app to change the screen brightness on the menubar.
JavaScript
80
star
5

rn-update-deprecated-modules

Codemod to update import declarations as per react-native > 0.59.x deprecations.
JavaScript
72
star
6

react-native-actions

Run React Native actions from within VSCode.
Objective-C
70
star
7

graphql-correios

✉️ Interact with Brazil's post-office through GraphQL!
JavaScript
59
star
8

auto-close-issues

Automatically close issues that don't follow the issue template.
JavaScript
52
star
9

react-tic-tac-toe

Tic Tac Toe in React
JavaScript
40
star
10

react-redux-todo

React & Redux Todo Application
JavaScript
27
star
11

likes

🔥 Everything I liked
16
star
12

node-applescript-promise

Easily execute arbitrary AppleScript code on OS X through NodeJS with Promises.
JavaScript
13
star
13

vovo-juju-cli

Falas da Vovó Juju no terminal
JavaScript
9
star
14

minidash

Small terminal-based dashboard to monitor your server.
TypeScript
5
star
15

mobile-flashcards

Udacity Project Reviewer Application
JavaScript
3
star
16

react-playground

React Experiments
JavaScript
3
star
17

koa-playground

Koa 2 Experiments
JavaScript
3
star
18

is-package-dep

Parses the closest package.json file and returns whether it contains the dependency or not.
JavaScript
3
star
19

core-workflow-apply-version-label

JavaScript
3
star
20

module-boilerplate

Module boilerplate to quickly start packages
JavaScript
2
star
21

RNCalendars31DayBug

Objective-C
2
star
22

react-native-test-app

Simple React Native app with redux-saga, redux-saga-test-plan & react-native-testing-library
JavaScript
2
star
23

inline-mdx-error

Project to show an error with `inline-mdx.macro` https://github.com/hamlim/inline-mdx.macro/issues/10
JavaScript
2
star
24

get-ios-devices

Get a list of iOS devices and simulators
JavaScript
2
star
25

RNWithFlipper

Java
1
star
26

readable

Udacity Project Reviewer Application
JavaScript
1
star
27

core-workflow-create-version-label

JavaScript
1
star
28

test-issue-forms

1
star