0.1.0 • Published 6 years ago
parse-server-graphql v0.1.0
Parse Server GraphQL
WIP
Automatically creates a GraphQL API from an instance of parse-server.
Still missing many features (authentication, several built-in types, and more).
Install
yarn add parse-server-graphql
Usage
This wraps express-graphql and should be mounted on your express app:
const parseGraphQL = require('parse-server-graphql');
// ...
const graphAPI = parseGraphQL({
appId,
masterKey, // Needed to fetch schema
serverURL,
dynamicSchema: true, // Whether or not to recreate schema on every request
graphiql: true, // Whether or not to run graphiql
});
app.use('/graphql', graphAPI);
0.1.0
6 years ago