mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 00:58:36 +00:00
Update hierarchy of headings on /federation page (#5988)
This commit is contained in:
parent
4373ca1efb
commit
742bc650c8
8 changed files with 27 additions and 19 deletions
|
|
@ -103,7 +103,7 @@ function Intro() {
|
|||
function WhyFederation(props: { className?: string }) {
|
||||
return (
|
||||
<section className={cn('p-6 sm:py-20 md:py-24', props.className)}>
|
||||
<Heading as="h3" size="md" className="text-balance text-center">
|
||||
<Heading as="h2" size="md" className="text-balance text-center">
|
||||
Why GraphQL Federation?
|
||||
</Heading>
|
||||
<ul className="mt-6 flex flex-row flex-wrap justify-center gap-2 md:mt-16 md:gap-6">
|
||||
|
|
@ -296,7 +296,7 @@ function WhyHive({ className }: { className?: string }) {
|
|||
className,
|
||||
)}
|
||||
>
|
||||
<Heading as="h3" size="md" className="text-balance sm:px-6 sm:text-center">
|
||||
<Heading as="h2" size="md" className="text-balance sm:px-6 sm:text-center">
|
||||
Why Choose Hive for GraphQL Federation?
|
||||
</Heading>
|
||||
<ul className="flex flex-row flex-wrap justify-center divide-y divide-solid sm:mt-6 sm:divide-x sm:divide-y-0 md:mt-16 md:px-6 xl:px-16">
|
||||
|
|
@ -382,7 +382,7 @@ function GetStarted(props: { className?: string }) {
|
|||
props.className,
|
||||
)}
|
||||
>
|
||||
<Heading as="h3" size="md">
|
||||
<Heading as="h2" size="md">
|
||||
Get Started with GraphQL Federation
|
||||
</Heading>
|
||||
<p className="relative mt-4">
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ function EnterpriseFocusedCards({ className }: { className?: string }) {
|
|||
<section
|
||||
className={cn('bg-beige-100 rounded-3xl px-4 pt-6 sm:py-24 md:px-6 md:py-[120px]', className)}
|
||||
>
|
||||
<Heading as="h3" size="md" className="text-balance sm:px-6 sm:text-center">
|
||||
<Heading as="h2" size="md" className="text-balance sm:px-6 sm:text-center">
|
||||
Enterprise-Focused Tools Tailored for You
|
||||
</Heading>
|
||||
<ul className="flex flex-row flex-wrap justify-center divide-y divide-solid sm:mt-6 sm:divide-x sm:divide-y-0 md:mt-16 md:px-6 xl:px-16">
|
||||
|
|
@ -164,7 +164,7 @@ function EnterpriseFocusedCards({ className }: { className?: string }) {
|
|||
function UltimatePerformanceCards() {
|
||||
return (
|
||||
<section className="px-4 py-6 sm:py-12 md:px-6 xl:px-[120px]">
|
||||
<Heading as="h3" size="md" className="text-balance text-center">
|
||||
<Heading as="h2" size="md" className="text-balance text-center">
|
||||
GraphQL Federation for the Ultimate Performance
|
||||
</Heading>
|
||||
<ul className="mt-6 flex flex-row flex-wrap justify-center gap-2 md:mt-16 md:gap-6">
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import { Callout, Cards, Tabs } from '@theguild/components'
|
|||
|
||||
# Hive Gateway
|
||||
|
||||
Hive Gateway is a fully open-source MIT-licensed GraphQL gateway that can act as a Apollo Federation
|
||||
Gateway or a Proxy Gateway for any GraphQL services.
|
||||
Hive Gateway is a fully open-source MIT-licensed GraphQL gateway that can act as a
|
||||
[GraphQL federation](/federation) Gateway or a Proxy Gateway for any GraphQL services.
|
||||
|
||||
The Hive Gateway can be run as a standalone binary, a Docker Image, or as a JavaScript package (e.g.
|
||||
within Node.js, Bun, Deno, Google Cloud Functions, Azure Functions or Cloudflare Workers)
|
||||
|
|
@ -87,7 +87,7 @@ npm i @graphql-hive/gateway
|
|||
|
||||
Hive Gateway supports two different modes:
|
||||
|
||||
- **Apollo Federation.** Serve a supergraph provided by a schema registry like
|
||||
- [**GraphQL Federation.**](/federation) Serve a supergraph provided by a schema registry like
|
||||
[Hive Registry](https://the-guild.dev/graphql/hive/docs/schema-registry), a composition tool like
|
||||
[Apollo Rover](https://www.apollographql.com/docs/rover/),
|
||||
[GraphQL Mesh](https://graphql-mesh.com/) or any other Federation compliant composition tool such
|
||||
|
|
@ -102,9 +102,9 @@ Hive Gateway supports two different modes:
|
|||
|
||||
<Tabs.Tab>
|
||||
|
||||
To serve a Apollo Federation Gateway, we need to point the Gateway to either a local supergraph file
|
||||
or a supergraph served by our schema registry. For this example, we will serve a supergraph from the
|
||||
Hive schema registry.
|
||||
To serve a [GraphQL federation](/federation) Gateway, we need to point the Gateway to either a local
|
||||
supergraph file or a supergraph served by our schema registry. For this example, we will serve a
|
||||
supergraph from the Hive schema registry.
|
||||
|
||||
<Tabs items={["Binary", "Docker", "JavaScript Package"]}>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,11 @@ import tokenImage from '../../../../public/docs/pages/guides/token.png'
|
|||
|
||||
# Get started with Apollo Federation
|
||||
|
||||
Once you've created a Hive project of type **Apollo Federation**, you can start pushing your Apollo
|
||||
Once you've created a Hive project of type **Federation**, you can start pushing your GraphQL
|
||||
Federation subgraph schemas to the Hive registry.
|
||||
|
||||
> Learn more about [GraphQL federation and its benefits](/federation).
|
||||
|
||||
This guide will walk you through the basics of schema pushing, checking, and spin up the Hive
|
||||
Gateway serving the federated GraphQL schema.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ import { Callout, Cards } from '@theguild/components'
|
|||
|
||||
# Introduction to Hive
|
||||
|
||||
**Hive** is a GraphQL schema registry for managing and collaborating on all your **Apollo
|
||||
Federation**, **Monolithic** or **[Schema Stitching](https://the-guild.dev/graphql/stitching)**
|
||||
GraphQL workflows.
|
||||
**Hive** is a GraphQL schema registry for managing and collaborating on all your
|
||||
[**GraphQL Federation**](/federation), **Monolithic** or
|
||||
**[Schema Stitching](https://the-guild.dev/graphql/stitching)** GraphQL workflows.
|
||||
|
||||
The Hive platform gives the tools you need to gain insights, make decissions, and evolve your
|
||||
GraphQL API with confidence.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ For each contract definition, Hive runs:
|
|||
|
||||
### Federation Contracts
|
||||
|
||||
In Federation subgraphs, fields can be tagged with the `@tag` directive.
|
||||
In [Federation](/federation) subgraphs, fields can be tagged with the `@tag` directive.
|
||||
|
||||
```graphql filename="Example Subgraph" {6,11,12,13}
|
||||
extend schema
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ Hive as a schema registry serves the main purpose of preventing breaking changes
|
|||
your GraphQL API stays up-to-date and running smoothly. This allows you to plan ahead and make the
|
||||
necessary modifications to your schema in a timely manner.
|
||||
|
||||
> Schema Registry is essential for successfully implementing [federated GraphQL APIs](/federation),
|
||||
> as it ensures consistent schema management and type definitions.
|
||||
|
||||
However, it is important to note that determining what constitutes a breaking change can be a
|
||||
complex task. It requires a thorough understanding of your GraphQL API, consumers and real-world
|
||||
traffic patterns. Hive provides a set of tools to help you with this task.
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ One of GraphQL Hive's standout features is its **seamless integration with the A
|
|||
It works alongside the [Apollo Router](/docs/other-integrations/apollo-router) and
|
||||
[Apollo Gateway](/docs/other-integrations/apollo-gateway), ensuring a consistent and smooth
|
||||
experience for users. This integration extends to supporting
|
||||
[Apollo Federation v1 and v2](/docs/get-started/apollo-federation), allowing you to leverage the
|
||||
advantages of federated architectures while benefiting from GraphQL Hive's capabilities.
|
||||
[Apollo Federation v1 and v2](/federation), allowing you to leverage the advantages of federated
|
||||
architectures while benefiting from GraphQL Hive's capabilities.
|
||||
|
||||
```mermaid
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ For those fimiliar with using Rover CLI, transitioning to Hive is remarkably str
|
|||
existing users**. This aspect simplifies the migration process from Apollo GraphOS to Hive, allowing
|
||||
developers to quickly adapt and continue their work without interruption.
|
||||
|
||||
## Open Source Freedom, No Vendor Lock-in
|
||||
## Open Source GraphQL Federation Platform
|
||||
|
||||
Built on a foundation of open source technologies like
|
||||
[Postgres, ClickHouse, and Redis](https://github.com/graphql-hive/platform/blob/main/docker/docker-compose.community.yml),
|
||||
|
|
@ -61,6 +61,9 @@ GraphQL infrastructure.
|
|||
Hive does not gate any features behind a paywall. Self-hosted and cloud-hosted options are
|
||||
identical.
|
||||
|
||||
Both Hive Console (Schema Registry and Observability) and Hive Gateway are fully open source and
|
||||
MIT-licensed.
|
||||
|
||||
## On-Premise and Cloud Hosting Options
|
||||
|
||||
Whether you're working on a side project or managing a larger beast, Hive caters to your hosting
|
||||
|
|
|
|||
Loading…
Reference in a new issue