You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/source/schema-design/federated-schemas/federation.mdx
+20-18
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,19 @@
1
1
---
2
2
title: Introduction to Apollo Federation
3
-
subtitle: Learn how federation combines your GraphQL APIs into a unified supergraph
4
-
description: Learn how Apollo Federation can help you declaratively combine your services into a unified, federated GraphQL API using a microservices architecture.
3
+
subtitle: Learn how federation orchestrates your APIs into a unified supergraph
4
+
description: Learn how Apollo Federation helps you declaratively orchestrate your APIs and services into a unified, federated GraphQL API using a microservices architecture.
5
5
redirectFrom:
6
6
- /federation
7
7
---
8
8
9
-
Apollo Federation lets you declaratively combine multiple APIs into a single, federated graph. This federated graph enables clients to interact with your APIs through a single request.
9
+
Apollo Federation enables you to declaratively combine multiple APIs into a single federated GraphQL API. Federation serves as an API orchestration layer, where clients make a single GraphQL request and it coordinates multiple API calls to return a unified response.
10
10
11
-
A client makes a request to the federated GraphQL API's single entry point called the _router_. The router intelligently orchestrates and distributes the request across your APIs and returns a unified response. For a client, the request and response cycle of querying the router looks the same as querying any GraphQL server.
11
+
Clients makes requests to the federated GraphQL API's single entry point called the _router_. The router intelligently orchestrates and distributes the request across your APIs and returns a unified response. For a client, the request and response cycle of querying the router looks the same as querying any GraphQL API.
Your federated GraphQL API, or _graph_, can be made of GraphQL APIs and other data sources.
19
-
[Learn how Apollo Connectors](../connectors/) simplify incorporating REST APIs into your graph.
20
-
21
-
</Note>
22
-
23
-
24
-
To jump into building a federated GraphQL API, check out the [Apollo GraphOS Quickstart](/graphos/get-started/guides/quickstart).
16
+
Your federated GraphQL API, or _graph_, can be made of GraphQL APIs, REST APIs, and other data sources.
25
17
26
18
<ExpansionPaneltitle="Watch the video overview">
27
19
@@ -66,6 +58,10 @@ With Apollo Federation, clients can interact with the federated schema as if it
66
58
67
59
With federation, every team contributes directly to the overall federated GraphQL schema. Each team can work independently without needing to maintain multiple API layers. This frees your platform team to focus on the quality of your API rather than keeping it up to date.
68
60
61
+
### Connect APIs declaratively
62
+
63
+
Apollo Federation is the foundation of Apollo Connectors, which allows you to integrate REST APIs into your federated graph by defining them declaratively in your GraphQL schema.
64
+
69
65
## Next steps
70
66
71
67
Before continuing, it's helpful to know some terminology:
@@ -80,12 +76,18 @@ Different subgraphs in the same supergraph can use different server implementati
80
76
81
77
Ready to get started?
82
78
83
-
- Create and run a federated graph with the [Quickstart](/graphos/get-started/guides/quickstart).
84
-
85
79
- Connect REST APIs to your graph using Apollo Connectors with the [REST quickstart](/graphos/get-started/guides/rest-quickstart).
86
80
81
+
- Create and run a federated graph with the [Quickstart](/graphos/get-started/guides/quickstart).
82
+
87
83
### Additional resources
88
84
89
-
Depending on your goals, you have several options for learning more about federation:
90
-
- If you're new to federated architecture, this [overview article](https://graphql.com/learn/federated-architecture/) can familiarize the concepts.
91
-
- If you learn best by doing, this [interactive course](https://www.apollographql.com/tutorials/voyage-part1) teaches you to build an example supergraph using Apollo Federation.
85
+
If you're new to federated architecture, this [overview article](https://graphql.com/learn/federated-architecture/) can introduce the concepts.
86
+
87
+
<OdysseyCallout>
88
+
89
+
- To integrate existing APIs into a federated graph, this [interactive course](https://www.apollographql.com/tutorials/connectors-intro-rest) teaches you how to bring an existing REST API into a GraphQL API using Apollo Connectors.
90
+
91
+
- To federate a GraphQL backend, this [interactive course](https://www.apollographql.com/tutorials/voyage-part1) teaches you how to build an example supergraph using Apollo Federation.
0 commit comments