graphql
Installation
SKILL.md
GraphQL
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. It gives clients the power to ask for exactly what they need and nothing more.
When to Use
- Mobile Apps: Minimize bandwidth by fetching only needed fields.
- Complex Systems: Fetching related data (User + Orders + Products) in a single request.
- Rapid Iteration: Frontend can change data requirements without Backend changes.
Quick Start
# The Schema
type User {
id: ID!
name: String!
orders: [Order]
}