⚠️ This lesson is retired and might contain outdated information.

Query Multiple Services with OneGraph GraphiQL Editor

Ian Jones
InstructorIan Jones
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 2 years ago

In this lesson, we create an OneGraph application. We use the data explorer to build a GraphQL query to fetch data services like npm and dev.to.

Ian Jones: [0:00] Here, you can see I'm on OneGraph's home page. I'm going to log in. Now that I'm logged in, I'm winded on their dashboard. You can see that I've created some apps. I'm going to create a new one, going to accept their name. Once you create an app, you're in the app dashboard.

[0:23] I'm going to head over to the Data Explorer tab. Here are a bunch of services that OneGraph can query. As an example, I'm going to query npm. When we delete that, we're going to query npm package graphql. I'll grab the name. When you click run, you can see that data is being returned.

[0:47] Then I'm going to add another service, so we'll add dev.to. Go to articles/nodes, where's the title? When I click Run, you can see that data from npm and data from dev.to is being returned in oneGraphQL query.

egghead
egghead
~ 12 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today