# Easy and performant GraphQL over REST

DevFeed: [Easy and performant GraphQL over REST](<https://devfeed.tech/articles/easy-and-performant-graphql-over-rest-23278.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/easy-and-performant-graphql-over-rest-e02796993b2b>)

Author: Martijn Walraven

Published: 2018-06-19T22:44:00Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-server](<https://devfeed.tech/topics/apollo-server.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [backend](<https://devfeed.tech/tags/backend.md>), [batching](<https://devfeed.tech/tags/batching.md>), [caching](<https://devfeed.tech/tags/caching.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-apis](<https://devfeed.tech/tags/rest-apis.md>)

## AI overview

This article introduces data sources in Apollo Server 2.0, describing them as classes for fetching and caching data from REST endpoints. It explains built-in support for caching, deduplication, error handling, HTTP requests, query parameters, JSON parsing, authorization, and GraphQL execution context.

## Source excerpt

Last Friday, we published a first release candidate of Apollo Server 2.0, a 100% open source JavaScript GraphQL server that bakes in the best practices we've learned working with hundreds of teams running GraphQL in production. This post introduces data sources, one of its new features. In our experience, the right way to deploy GraphQL is as a layer between your apps and your existing APIs and services.