{"name":"graphback","version":"0.4.0","description":"Auto generate resolvers on top of the graphql and database of your choice","main":"dist/index.js","types":"types/index.d.ts","typescript":{"definition":"types/index.d.ts"},"author":{"name":"wtrocki@redhat.com"},"scripts":{"clean":"rimraf coverage dist types","build":"tsc","watch":"tsc -w ","lint":"tslint -t stylish --project \"tsconfig.json\"","test":"ava","pretest":"npm run build"},"ava":{"files":["tests/**/*"],"compileEnhancements":false,"extensions":["ts"],"require":["ts-node/register"]},"engines":{"node":"12.7.0"},"devDependencies":{"@types/graphql":"14.2.3","@types/knex":"0.15.2","@types/node":"8.10.51","@types/pino":"5.20.0","ava":"2.2.0","rimraf":"2.6.3","ts-node":"8.3.0","tslint":"5.18.0","tsutils":"3.14.0","typescript":"3.5.3"},"license":"Apache-2.0","dependencies":{"graphql":"14.4.2","knex":"0.19.1","pg":"7.11.0","pino":"5.13.1","tslib":"1.10.0"},"_id":"graphback@0.4.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-sfh6s/z+3ZyTLIcqcqAvAF5XSeUhwSENdy1hE9clqDO4xd6I1wOuORF8l+upLvfsYbfX+4Tcb5qSesm7y2Dayw==","shasum":"fb74e6a29fdcd90af1b78912ed4f88f2eb26bcc8","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.4.0.tgz","fileCount":80,"unpackedSize":112063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOLacCRA9TVsSAnZWagAAUsUP/jk1/pzWKUGKAuzPoTGg\nWZDTppnHveqK2VcJPce/Cmng68qk23StLcjGhHSviVEICfz32S1yqbeggTaQ\nF1MI8i20Je70H2Uh9pfohhqvQh0aIZ+zbT8n7pO6y7R1juPIYmvtIktW/1ng\nAC4JBLFXWhSF6FfuB0a7Ywgum/s1x3iTKk7s0FVTGPx0hrlUjY+boMe8uHYW\nDSMbnkcubOR62aX3tBdogRUwKq6nUyF76rhLa0y4x+eUX+sPNjW1SxBr3V5C\nVu7Dp4Eusci3LwWOXMX/zCmgb4/RPZ8x5ud0H1oJ3WYtlyoUMhDfegmcsD3J\ngLc2p9eHMiuYRJTo9tlQcjVWIX9BErQN9FcethfTz3e7Y9uM4DRGqMIZ7W2r\nfgwUcDnXwIXqgp0Wk8Vr4mEb4nYtcJ4wmeI764WotA241aEkcg7RGo7/f7nI\nv+4g8fXUqKmQc8EXlDY6ihdy4pUqQPFKCjrrtA2Up2LIS+qIyPYnC8z8USA5\ncnVIjN6Wd9hdZj6QVXRJqOlF1Pj2VaqIHzgoA6oiSVgChOdKp3qjFbartPmG\nL8+f8sYyL99NnP5f9rH/WUeyCgxcxg4lmi9CLrUZ5k5BUpka2i7WfJUnmTv5\nZtG06aRPc1NeRH4xIEfkPEezwpT3xhD32yXrq/877GBuOzZUq548Be6nThYp\n3oOc\r\n=7M/n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsr10Mgzt7fengWuJqT8Tp3WOERntyImKSmJgkS563WwIhAKJaQ0Bzt4YmVHG1yAjWwI2Ox06chXhGzWOfiTznqDiX"}],"size":24856,"noattachment":false,"key":"/graphback/-/graphback-0.4.0.tgz"},"maintainers":[{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphback_0.4.0_1563997851865_0.3285923176836487"},"_hasShrinkwrap":false,"readme":"## Graphback\n\n<p align=\"center\">\n  <img width=\"400\" src=\"https://raw.githubusercontent.com/aerogear/graphback/master/website/static/img/logo.png\"/>\n  <br/>\n  Auto generate database structure, <br/>\n  GraphQL Resolvers and Queries from GraphQL types 🚀\n</p>\n\n## Motivation \n\nGraphback helps you to kickstart your experience with any existing GraphQL implementation\nby generating backend and client side CRUD layer using your GraphQL data model.\n\n**Documentation**: https://graphback.dev\n\n**Repository**: https://github.com/aerogear/graphback/\n\n\n## Usage\n\n`graphback` provides a programmatic API for the Graphback ecosystem.\nIn most of the cases you can use graphback by utilizing graphback-cli package that will expose all useful commands and cover most of the use cases.\n\nInstall with npm:\n\n```bash\nnpm install graphback\n```\n\nInstall with yarn:\n\n```bash\nnpm install graphback\n```\n\n`buildGraphbackAPI` will process your schema and generate a CRUD API with schema, resolvers, services and data sources.\n\n```ts\nimport { buildGraphbackAPI } from 'graphback';\nimport { createKnexDbProvider } from '@graphback/runtime-knex';\nimport Knex from 'knex';\n\nconst db = Knex({...});\n\nconst { typeDefs, resolvers, contextCreator } = buildGraphbackAPI(schema, {\n  dataProviderCreator: createKnexDbProvider(db)\n});\n```\n\nUp-to-date usage and configuration information is covered in depth over on our website [graphhback.dev](https://graphback.dev/docs/getting-started/add-to-project).","publish_time":1563997852009,"_cnpm_publish_time":1563997852009,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}