diff --git a/docs/src/core/backend/README.md b/docs/src/core/backend/README.md index f2b660799..32e807826 100644 --- a/docs/src/core/backend/README.md +++ b/docs/src/core/backend/README.md @@ -62,7 +62,7 @@ The bulk of the application logic is split into separate modules within the `src │ └── resolver.ts # GraphQL resolver ``` -### Inside a Module +#### Inside a Module

= model( termSchema ); ``` + +### Testing the API + +To test the GraphQL API, it is recommended to first [seed the local database](../../getting-started/local-development.md#seeding-local-database) in order to have data. + +API testing is mainly done through the [Apollo GraphQL Sandbox](https://www.apollographql.com/docs/apollo-sandbox) available at `http://localhost:8080/api/graphql` when the backend container is running. While the UI is helpful for creating queries for you, it is highly recommended to review the [GraphQL docs](https://graphql.org/learn/), specifically the [queries](https://graphql.org/learn/queries/) and [mutations](https://graphql.org/learn/mutations/) pages.