GraphQL
- File size
- 2.6KB
- Lines of code
- 75
GraphQL
API-specific query language as a flexible alternative to traditional RESTful APIs.
Capabilities
- Single endpoint: one endpoint for all queries and mutations, enabling quicker optimisation and management
- Efficient queries: exact query data can be requested from nested structures, preventing over-fetching or under-fetching
- Strong type system: strongly typed schema prevents misqueries between the client and server
Applications
- Application development: mobile and web apps for fetching and updating only the necessary server data and providing real-time updates while reducing network overhead
- Microservices: effiicently aggregates data across multiple microservices