New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parse-graphql/express

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parse-graphql/express

**WIP**

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Parse GraphQL HTTP npm (scoped) Parse GraphQL Logo

WIP

Connect style middleware that uses parse-graphql-schema to automatically create a GraphQL API from an instance of parse-server.

Install

yarn add @parse-graphql/express

Usage

This wraps express-graphql and can be used with frameworks such as Express, Restify, and Connect.

Here's an example using express, see more in the examples repo.

const express = require('express');
const parseGraphQL = require('@parse-graphql/express');

const app = express();

const graphqlAPI = parseGraphQL({
  appId: 'foo',
  masterKey: 'bar',
  serverURL: 'http://foobar.com/parse',
  dynamicSchema: true,
  graphiql: true,
});

app.use('/graphql', graphqlAPI);

app.listen(4001);

Options

appId: string - required

serverURL: string - required

javascriptKey: string - optional, use if you added one to your parse server

masterKey: string - optional if parseSchema is used

parseSchema: Object - optional, can pass in Parse Server schema (results property from GET <serverURL>/schema) rather than have it be fetched

dynamicSchema: boolean - whether or not to refetch/recreate schema on every request

graphiql: boolean - whether or not to run GraphiQL

FAQs

Package last updated on 09 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc