1.1.5 • Published 6 years ago
oc-registry-graphql-express-middleware v1.1.5
oc-registry-graphql-express-middleware
OpenComponents Registry GraphQL Express middleware.
How to install
npm add oc-registry-graphql-express-middleware
How to use it w/in your Registry
require('babel-core/register');
require('babel-polyfill');
const graphql = require('oc-registry-graphql-express-middleware');
const options = {
baseUrl: configuration.baseUrl,
graphiql: configuration.discovery,
dependencies: configuration.dependencies
};
registry.app.use('/graphql', graphql(options));
N.B.:
configuration
in the example above is the object used to configure the OpenComponents Registry.
1.1.5
6 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
1.0.0-alpha.5
7 years ago
1.0.0-alpha.4
7 years ago
1.0.0-alpha.3
7 years ago
1.0.0-alpha.2
7 years ago