Creates a server-side client, link, and remote schema for the Base4 GraphQL API. Can be used as a low-level dependency in other projects.
The following environment variables must be present. Either create a .env
in the root of the project, or set the appropriate values.
BASE4_GRAPHQL_URL=
BASE4_TENANT_KEY=
BASE4_API_TOKEN=