what is graphQl ? #2
|
what is graphQl ? and why we should use this ? @KriXsh |
Replies: 2 comments
|
GraphQL is a query language for APIs that allows clients to request exactly the data they need, reducing over-fetching and under-fetching. It was developed by Facebook and is an alternative to REST APIs. Key Features: |
GraphQL is a query language for APIs that allows clients to request exactly the data they need, reducing over-fetching and under-fetching. It was developed by Facebook and is an alternative to REST APIs.
Key Features:
Flexible Data Retrieval: Clients specify the exact data they need in a single request, which minimizes data transfer.
Single Endpoint: Unlike REST, which uses multiple endpoints, GraphQL typically uses a single endpoint for all queries.
Strongly Typed Schema: The API schema defines all data types and relationships, enabling better validation and tooling.
Real-time Updates: Supports subscriptions for real-time data, useful for live updates in applications.
No Versioning Neede…