This package provides a GraphQL schema for the Petfinder.com API. You will need to register an account to get an API key Here
Installation
$ npm install petfinder-graphql
Usage
const schema = 'API_KEY_HERE'; //Sample using apollo-server-expressconst express = ; // This package automatically parses JSON requests.const bodyParser = ; // This package will handle GraphQL server requests and responses// for you, based on your schema.const graphqlExpress graphiqlExpress = ; var app = ;app; app; const PORT = 3000;app;
Testing
$ npm test