{"name":"graphback","version":"0.3.2","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.3.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AovCHyKyTQwtcL+9RWW8RuGrOWayFTn1Rs2dEBUWFHFTrQllgBl1mkhKrs3Zyu4B73T2s7Xyb6Odlw5thMOQsg==","shasum":"2f304b64eeba25e904f24d8dd34c3469bcbb7a9c","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.3.2.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\nwsFcBAEBCAAQBQJdOGfFCRA9TVsSAnZWagAA5HEP/Rg2QMzPFNoMdYi0hP0F\nxOYujDH5cOBbYDFsS6J6LiEJSttKe5NEyO6VC7NSa4bIbadOrMO4NUiv09qb\n2JfI6JzLjS37g1JjUcmHA+ac9lSEQrAghs7+Oj4dxipzhxn5xE3ooveFWxFz\n4izUQ3fbIRQB6IfssMvrtqAiokcIkXPNopWF03DwbwX3MxGUebPjIFH5dRBM\n6xABQl8QHGEfTI0BZUexFgTNT/1IHukjAOVfdUHqz9/XEvgNU0Ctx/aCU7Nv\nK2jG80Z4Lf7TSENTb33cn4usP7UJ5bZ5xmK21bto1yc3ITYSVAnXoG5mMa6t\n+zyXNKnt7nySNxrKVjeO9E3uj/d+3U2nhcbEzCT+Xd8hRi7DFd8uoLOoFkar\nVudhHV5papiaxHuwPrxdjrg8sPoZBZRxtCdppkIS3xJnlACDPE8muhAVOtVL\nn2dr4qMabuBTEhpI5b3DJwkS9SE4sExcVVYh9mEEwJl7+AyHuuEPOK2Hxfx/\nSwXKMVsZZRnHJEigpnZNRWW0oxsQMlydhvibFIFOKJTqIxtvDtRsTCwbzzNq\n4fwUnqPWhc6qWmp5oTinBUDf/MX3Cyc41egtxzbnyLybXDFb88SAj+JnNOwW\nGHBQxJuY3Dtz5NzEVPszv/QDRIx/51SsIlJ7lwWVTXt0mG8Uw7SVwWNLeRxJ\ndBQH\r\n=VdvN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/Wxr87ITsWoeTjSABm/v/0wMnOo0wcyOPdRDgaBfN8AiBYcvrQ9boiyolpMirXZ6QSfa8Kk5LIgumGXgNrbxg3ug=="}],"size":24858,"noattachment":false,"key":"/graphback/-/graphback-0.3.2.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.3.2_1563977669066_0.24302536953265697"},"_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":1563977669183,"_cnpm_publish_time":1563977669183,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}