Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

priyachaudhary avatar image
priyachaudhary asked Erick Ramirez edited

Why use GraphQL?

Hello, importance use of GraphQL.

graphql
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

smadhavan avatar image
smadhavan answered Erick Ramirez edited

Hello @priyachaudhary, thanks for your post in the Community!

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.

Read this press release as well on what DataStax developed.

Read this GraphQL API announcement in Stargate and what it can do with Cassandra.

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. See more here.

You could also read more about why using here - https://graphql.org/faq/

One shouldn't get confused between GraphQL and Graph Data. Read this blog for further information on the same.

I hope these give you the starting point in understanding what GraphQL is why we need it.

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.