Time to Complete
15
Difficulty
Intermediate
Get your copy of the O’Reilly Cassandra eBook: The Definitive Guide - Download FREE Today
GraphQL is an open-source data query and manipulation language for APIs that allows clients to understand the data that your APIs expose and ask for only the portions they want. With GraphQL, you can create applications and services to aggregate data from multiple services or data stores. The Stargate open source project provides an API layer that allows you to expose a GraphQL API on top of any Cassandra database. Astra now offers offers a GraphQL API via Stargate, which we explore in this scenario.
Astra now offers offers a REST API via Stargate, which we explore in this scenario.
We'll use the GraphQL API to:
As a prerequisite, be sure to setup an Astra account and create a Cassandra as a Service database at astra.datastax.com.
GraphQL is great stuff! Let's take a look.