GraphQL - Expose your API including a powerful Query Language without having to maintain a special middleware
Motivation
When implementing mobile apps connecting to a backend you usually write a client-specific middle-ware providing filtered or aggregated information from the backend.
With GraphQL this comes out of the box.
GraphQL Introduction
At the React.js conference in late January 2015, we revealed our next major technology in the React family: Relay.
Relay is a new way of structuring client applications that co-locates data-fetching requirements and React components. Instead of placing data fetching logic in some other part of the client application – or embedding this logic in a custom endpoint on the server – we instead co-locate a declarative data-fetching specification alongside the React component. The language of this declarative specification is GraphQL.
GraphQL was not invented to enable Relay. In fact, GraphQL predates Relay by nearly three years. It was invented during the move from Facebook's HTML5-driven mobile applications to purely native applications. It is a query language for graph data that powers the lion's share of interactions in the Facebook Android and iOS applications. Any user of the native iOS or Android app in the last two years has used an app powered by GraphQL.
Facebook GitHub.io
Sangria
A scala GraphQL library.
GraphQL with Sangria (a scala GraphQL library) Presentation
Sangria GitHub
iOS Development
GraphQLicious on GitHub
Swift-GraphQL on GitHub
Android Development
GraphQL-Java on GitHub
Even GitHub now switches to GraphQL API:
The GitHub GraphQL API
iOS & Apollo Quickstart
When implementing mobile apps connecting to a backend you usually write a client-specific middle-ware providing filtered or aggregated information from the backend.
With GraphQL this comes out of the box.
GraphQL Introduction
At the React.js conference in late January 2015, we revealed our next major technology in the React family: Relay.
Relay is a new way of structuring client applications that co-locates data-fetching requirements and React components. Instead of placing data fetching logic in some other part of the client application – or embedding this logic in a custom endpoint on the server – we instead co-locate a declarative data-fetching specification alongside the React component. The language of this declarative specification is GraphQL.
GraphQL was not invented to enable Relay. In fact, GraphQL predates Relay by nearly three years. It was invented during the move from Facebook's HTML5-driven mobile applications to purely native applications. It is a query language for graph data that powers the lion's share of interactions in the Facebook Android and iOS applications. Any user of the native iOS or Android app in the last two years has used an app powered by GraphQL.
Facebook GitHub.io
Sangria
A scala GraphQL library.
GraphQL with Sangria (a scala GraphQL library) Presentation
Sangria GitHub
iOS Development
GraphQLicious on GitHub
Swift-GraphQL on GitHub
Android Development
GraphQL-Java on GitHub
Even GitHub now switches to GraphQL API:
The GitHub GraphQL API
iOS & Apollo Quickstart
- Apollo Client
- Fully-featured, production ready caching GraphQL client
- Graphcool
- Flexible backend platform combining GraphQL + AWS Lambda
Comments
Post a Comment