There are two ways in which you can connect to a backend:
Let StepZen introspect the backend and create a GraphQL API for you. The API will reflect how the backend has exposed the data. This is done via the
stepzen importCLI. See the Quickstart: stepzen import documentation.
You start with an application view of the API, and then use StepZen's custom GraphQL directives (
@graphql) to connect and configure the backend.
Note: You can mix and match the steps -- get started quickly with introspection, and then extend and customize your API using the arguments in the directives.
This section provides information on how to use the GraphQL directives to connect a backend data sources. With a few lines of declarative code, you have a working schema.