GraphQL Portal consists of two main components: Gateway and Dashboard. Respectively, there are two ways how we can configure the Gateway:
- with a help of static files (JSON or YAML)
- or with a Dashboard (in that case static files will be ignored even if present).
Main configuration file of the Gateway is
gateway.json|yaml, which should look like following:
All the options above are required, see Gateway config reference for a full list of options.
The configuration must be located in
config/gateway.json|yaml, which should be
relative to the directory in which we launch the gateway.
It means that if we launch
/opt/graphql-portal then we
will look for configuration file in