diff --git a/modules/ROOT/pages/integrations/apollo-federation.adoc b/modules/ROOT/pages/integrations/apollo-federation.adoc index da6f529d..4b1d005f 100644 --- a/modules/ROOT/pages/integrations/apollo-federation.adoc +++ b/modules/ROOT/pages/integrations/apollo-federation.adoc @@ -160,23 +160,21 @@ touch src/index.js ==== +[start=4] +. To proceed with the setup, install the required dependencies running the following command: + -. This guide requires the installation of the following dependencies: +[source, bash] +---- +npm install @apollo/server @neo4j/graphql graphql neo4j-driver +---- ++ +There are the dependencies to be installed: + * `@apollo/server`, the library for Apollo Server, is used in this guide to host the subgraph. * `@neo4j/graphql` is the Neo4j GraphQL Library, which translates GraphQL into Cypher and returns the results. * `graphql` is the reference implementation of the GraphQL specification. It is required for `@neo4j/graphql` to function. * `neo4j-driver` is the library for the Neo4j driver, which is required to execute Cypher queries against the database. -+ - -Install them by running this command: - -[source, bash] ----- -npm install @apollo/server @neo4j/graphql graphql neo4j-driver ----- - == Opt in to Federation For a set of type definitions to be usable as a subgraph for Federation, they must include the following schema extension: