{"name":"graphback","version":"0.7.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.8.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.17.1","typescript":"3.5.3"},"license":"Apache-2.0","dependencies":{"graphql":"14.4.2","knex":"0.19.1","pg":"7.12.1","pino":"5.13.2","sqlite3":"4.0.9","tslib":"1.10.0"},"_id":"graphback@0.7.0","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"integrity":"sha512-9GfqHU7PH6+F3+iQMM9M6Qfse8b3LIJULRAr7z5ity1MC1ze9uvP+3u7dS6EX0bkOyJ6WMDHVLmP9s6cxz1r9w==","shasum":"ce54df188db09e0dba1a92e9000c66ebae68f54b","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.7.0.tgz","fileCount":81,"unpackedSize":159650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUy+vCRA9TVsSAnZWagAAK7MP/Rq8oabhmrhSpQZIkcXT\nPaXMZpJd1N/so6hf6YDNS7hvjDSMcik+pbq61puUjJsHDYoi2YpDhD7NMfeK\n5uo5iZd0g6fHi9tJgPSD0r8FP6PWvdzff95pdtsiOqX/4AX0//lHSZi0ijbh\n+XoPNAFdNxUqCtqzLX2hfgmO7K5QCfiR3LVxixa5ncDlw+M63fAS//0qvQ/9\nkQi+FSMYQ4HaZBPtVRVs/Hi3zeYfRU/l9d/W2D8is7J332LzhkAOUdiSHt+d\nOrZzVFhaecEqEp4tNSUAanL6xESdZbuVAWJ4ACtFGre/ThNWnrSNvFn0HoEe\nGUY94k12AbfVPuILGIPLxm/rAtImxEKL/QxwQZGlJSng/sBMq6KhcS06GeCM\nSU721+S+MD3udo4RcfI4FBzCUvxyYTixT1OBOi//VHLhG5vVcgGsTQFL4Lu9\nvCm6HCBhTG0Op3fK147hgIsVrrIwRbeRTjc+DO+mNd7PtSY6pcNwt1dAZkpX\nvVeZsUQFs8fmodE4837QHyHWahvXH8/df3XCYLrlReDciOuhMi3OGAtTCSxL\nKlwUoNJnxqZk4nwFcSfmTePVRqubspWfmUqovtHlRmaPywb4vhLoQyQnBF3V\nQpKurkX/qB2Qy8oPR1BlReY1CzsH+TEPwK6HKSeuN2w0Ub76clkt3MKt6apx\nLiUL\r\n=0iXs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1UTyzLfGrSNLh+v1Zak4MRb/+3jLqhO89oObnGIAFtAiEA2VV0sbu5M/ZR+L7t/WYDcbV2nFjGdOuzzAfhLvQa12U="}],"size":34936,"noattachment":false,"key":"/graphback/-/graphback-0.7.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.7.0_1565732782295_0.7153879415473186"},"_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":1565732782439,"_cnpm_publish_time":1565732782439,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}