Skip to content

kistters/DjangoCeleryGraphene-ReactJSApollo-Stack

Repository files navigation

adventure

Adventure Poke using django and graphene.. :)

Building

$ bash adventure-up.sh --build

frontend ReactJs

backend /graphQL

try it :)

# https://graphql.org/learn/queries/
{
  pokesWithTypes: allPokemons {
    edges {
      node {
        ...PokeWithTypesEntity
      }
    }
  }
  typesWithPokes: allTypes {
    edges {
      node {
        ...TypesWithPokeEntity
      }
    }
  }
}

fragment TypeEntity on TypeType {
  name
}

fragment PokeEntity on PokemonType {
  name
  pokeId
  imgDefault
  imgShiny
}

fragment TypesWithPokeEntity on TypeType {
  name
  poke_list: pokemonSet {
    edges {
      node {
        ...PokeEntity
      }
    }
  }
}

fragment PokeWithTypesEntity on PokemonType {
  name
  pokeId
  imgDefault
  imgShiny
  types {
    edges {
      node {
        ...TypeEntity
      }
    }
  }
}

About

Pokemon API GraphQL (Django Celery Graphene - ReactJS Apollo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors