fff010b0d1
* 'master' of github.com:spotify/backstage: Update quickstart-app-auth.md Update changelog v0.1.1-alpha.22 v0.1.1-alpha.21 TechDocs: Use a flag to determine if we should use a local mkdocs or techdocs-container (#2503) feat(catalog-backend): delete log entries older than a cutoff fix(workflows): do not run e2e when contrib or docs change chore(contrib): form the basic contrib hierarchy fix(catalog-backend): address comments and add docs fix(catalog-backend): unify github and github/api, and use git-url-parse
GraphQL Backend
Getting Started
This is the GraphQL Backend plugin.
It is responsible for merging different graphql-plugins together to provide the end schema.
To run it within the backend do:
- Register the router in
packages/backend/src/index.ts:
const graphqlEnv = useHotMemoize(module, () => createEnv('graphql'));
const service = createServiceBuilder(module)
.loadConfig(configReader)
/** several different routers */
.addRouter('/graphql', await graphql(graphqlEnv));
- Start the backend
yarn workspace example-backend start
This will launch the full example backend.