From e82fe0aba783f562c90eb75c85642ec0c1910601 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Wed, 18 Oct 2023 16:57:07 +0200 Subject: [PATCH] Fixing formatting of list of steps --- .../pages/integrations/apollo-federation.adoc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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: