Start free

DatabasesIntermediateIntermediate stage14 hoursPro

GraphQL for Data

Query exactly the data you need from APIs; design schemas and resolvers that sit over databases.

Start the free previewLabs run in your browser. No installs.

What you will be able to do

  • Write queries, variables and fragments
  • Design a schema
  • Build resolvers over SQL and MongoDB
  • Secure and optimise GraphQL APIs

Tools

  • GraphQL
  • Apollo
  • Hasura
  • PostGraphile
  • GraphiQL

Syllabus — 4 modules

  1. Why GraphQL

    GraphQL lets clients request exactly the fields they need in one round trip, against a typed schema.

    REST vs GraphQL · Schema, types and fields · Queries, mutations, subscriptions · Introspection and GraphiQL

  2. Querying

    Arguments filter, variables parameterise, aliases rename and fragments reuse field sets.

    Arguments · Variables · Aliases · Fragments · Directives @include, @skip · Pagination: offset and cursor

  3. Schema design and resolvers

    Resolvers fetch each field’s data. Watch the N+1 problem and batch with DataLoader.

    SDL: types, inputs, enums, interfaces · Resolvers and context · N+1 problem and DataLoader · Mutations and validation

  4. GraphQL over databases

    Tools like Hasura and PostGraphile generate GraphQL APIs from database schemas.

    Auto-generated APIs · Permissions per role · Federation overview · Security: depth limits, cost analysis, persisted queries

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Databases track

  1. SQL Fundamentals (Any Database) Beginner
  2. SQL with MySQL Beginner → Advanced
  3. MongoDB Beginner → Advanced
  4. GraphQL for Data (this course) Intermediate
  5. Oracle SQL & PL/SQL Intermediate
  6. Graph Databases with Neo4j Intermediate
  7. Microsoft SQL Server & T-SQL Intermediate → Advanced
  8. PostgreSQL Intermediate → Advanced
  9. NoSQL: Redis, Cassandra, DynamoDB & Elasticsearch Intermediate → Advanced
  10. Database Management & Administration Advanced

Part of these career paths

Start learning

Questions and answers

How long does the GraphQL for Data course take?
About 14 hours across 4 modules, at your own pace. At five hours a week most learners finish in 3 weeks.
Is GraphQL for Data free?
The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
Do I get a certificate for GraphQL for Data?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting GraphQL for Data?
It follows MongoDB in the Databases track. If Databases is new to you, start with SQL Fundamentals (Any Database).
What will I be able to do after GraphQL for Data?
Write queries, variables and fragments; Design a schema; Build resolvers over SQL and MongoDB.