# \[UPDATE\] StarWars GraphQL example!

**URL:** <https://discourse.nodered.org/t/update-starwars-graphql-example/43960>\
**Category:** Share Your Nodes\
**Created:** [10 April 2021 13:52 UTC](https://discourse.nodered.org/t/update-starwars-graphql-example/43960 "2021-04-10T13:52:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nileio](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nileio/32/9444_2.png) [@nileio](https://discourse.nodered.org/u/nileio)\
**Post date:** [10 April 2021 13:52 UTC](https://discourse.nodered.org/t/update-starwars-graphql-example/43960/1 "2021-04-10T13:52:17Z")

</div>

if you are familiar with GraphQL , then you are definitely a fan of StarWars too !  
You would possibly know that StarWars was used extensively in documentations, tutorials and Facebook specs as an example for GraphQL schema.  
There is also a known resource to query starwars data from [swapi](https://swapi.dev/) which is a complete resource. I downloaded all the data of starwars example, and thought to provide an example usage of [node-red-contrib-graphql-server](https://flows.nodered.org/node/node-red-contrib-graphql-server)  
Only few nodes to resolve the whole implementation of the API as presented in the flow example here

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/799b821eb71375a372376d5099836a3e130cccc4.png)

Note example and node now uses and depends on the latest features from Node-RED version 1.3.

This is pretty much resolving queries to the GraphQL schema

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/e/7eadd835753f0667ea80bf7163c0a9334cc65e3a.png)  
let me know if you try it or have questions about the node.  
cheers
