Skip to content

๐ŸŒ  Build and scale a single data graph across multiple services with Apollo's federation gateway.

License

Notifications You must be signed in to change notification settings

apollographql/federation

Folders and files

NameName
Last commit message
Last commit date
Feb 13, 2025
Feb 13, 2025
May 12, 2023
Nov 21, 2024
Sep 22, 2023
Mar 4, 2025
Mar 15, 2024
Feb 13, 2025
Feb 28, 2022
Mar 28, 2025
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Sep 18, 2023
Feb 13, 2025
Nov 9, 2021
Nov 9, 2021
Sep 22, 2023
Jun 25, 2024
Oct 15, 2024
May 3, 2021
Sep 7, 2020
Jun 26, 2024
Jun 23, 2022
Jan 10, 2023
May 20, 2021
Jul 12, 2024
Nov 28, 2023
Mar 7, 2024
Sep 14, 2023
Feb 23, 2024
Sep 1, 2023
Feb 13, 2025
Dec 10, 2023
Nov 7, 2023
Sep 3, 2021
Feb 14, 2022
Feb 14, 2022
Jul 13, 2021
Nov 22, 2021

Repository files navigation

CircleCI Netlify Status


Announcement:
Join 1000+ engineers at GraphQL Summit for talks, workshops, and office hours, Oct 8-10 in NYC. Get your pass here ->


Apollo Federation

Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Each team can own their slice of the graph independently, empowering them to deliver autonomously and incrementally.

Federation 2 is an evolution of the original Apollo Federation with an improved shared ownership model, enhanced type merging, and cleaner syntax for a smoother developer experience. Itโ€™s backwards compatible, requiring no major changes to your subgraphs.

Checkout the Federation 2 docs and demo repo to take it for a spin and let us know what you think!

For Federation 1, see the docs and code.

Checkout the project roadmap to see what's coming next!

Contributing

If this project seems like something to which you want to contribute, first off thank you. We are so excited that you are excited about this project and we want to make sure contributing is a safe, fun, and fruitful experience for you. Please read our code of conduct and then head on over to the contributing guide to learn how to work on this project.

If you ever have any problems, questions, or ideas, the maintainers of this project are available to help. Please open an issue for assistance!

Current branches

  1. Federation 2 is the current main branch. Installing latest from npm is the most recent published code from main.
  2. Prior releases are located under the version-0.x branch. This comprises all 0.x packages previously released. Installing latest-1 from npm is the most recent published code from version-0.x.

Who is Apollo?

Apollo builds open-source tools and commercial services to make application development easier, better, and accessible to more people. We help you ship faster with:

  • GraphOS - The platform for building, managing, and scaling a supergraph: a unified network of your organization's microservices and their data sourcesโ€”all composed into a single distributed API.
  • Apollo Federation โ€“ The industry-standard open architecture for building a distributed graph. Use Apolloโ€™s gateway to compose a unified graph from multiple subgraphs, determine a query plan, and route requests across your services.
  • Apollo Client โ€“ The most popular GraphQL client for the web. Apollo also builds and maintains Apollo iOS and Apollo Kotlin.
  • Apollo Server โ€“ A production-ready JavaScript GraphQL server that connects to any microservice, API, or database. Compatible with all popular JavaScript frameworks and deployable in serverless environments.

Learn how to build with Apollo

Check out the Odyssey learning platform, the perfect place to start your GraphQL journey with videos and interactive code challenges. Join the Apollo Community to interact with and get technical help from the GraphQL community.

Licensing

Source code in this repository is covered by (i) the Elastic License 2.0 or (ii) an MIT compatible license, in each case, as designated by a licensing file in a subdirectory or file header. The default throughout the repository is a license under the Elastic License 2.0, unless a file header or a licensing file in a subdirectory specifies another license.