Backend Development
Step 9 / 20120 min

GraphQL APIs

APIs

Explanation

GraphQL lets clients request exactly the fields they need through a typed schema and resolvers.

Code example

graphql
type Skill {
  id: ID!
  name: String!
  level: String!
}

type Query {
  skills: [Skill!]!
  skill(id: ID!): Skill
}

Helpful resources

Exercise

Define a GraphQL schema for users and skills, then implement query resolvers against sample data.