{"name":"graphback","version":"0.9.3","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":"npm run clean && 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.10.0"},"devDependencies":{"@types/graphql":"14.2.3","@types/knex":"0.15.2","@types/node":"8.10.54","@types/pino":"5.20.0","ava":"2.4.0","graphql":"14.5.7","rimraf":"3.0.0","ts-node":"8.4.1","tslint":"5.20.0","tsutils":"3.17.1","typescript":"3.6.3"},"license":"Apache-2.0","dependencies":{"knex":"0.19.4","pg":"7.12.1","pino":"5.13.3","sqlite3":"4.1.0","tslib":"1.10.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_id":"graphback@0.9.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-F2BSR69htcIPAx1T+KtK2rME+LCWafAfZPxmfSi1WFAUkiZV3B9jiAysfs12+rGYAbzf/FsfI/RLgy7ofOBGIQ==","shasum":"48950e064ab4c7826d6af50edb2ce1c5b140c153","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.9.3.tgz","fileCount":93,"unpackedSize":195671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduBvkCRA9TVsSAnZWagAAjFMP/RX45E7CXIZWeVpcY0wg\nQAxZ1+LxvIOLQz2oUN29CffWDM3GSj+NGr+NTGKBs9v7KRAllLGLmiP24LJB\ncQsCJqhOC/WxV2VUoNtklEbFPOS/wq2DQlE9p5G0sJ1UPh9WfY/k0jW7EJUu\nuKQNNAi56eD9AMyeLRPYo1XEOXwRN3nC8zdqlwcmifseSF1+6KIrAp5riX81\n1jv98RpIS8lLUk4+IYeiwNrdHvStCX6ELjLDhBTZsbeXwJMWPgY/x0V7Mkon\nLFUjqwdT4wEf/QPtrOz3tZhFc1BK9Qge0mmABbuqeonRa0Oc+qNI2q4zdel4\nwdSnth9XjOwAHUlIY01/G7hl8LcJpgBo7YUbGbXxdRiFjww3BgHyvpKX4KL0\nk8Tok8Z9dH3lt2rDRm4X/L7q6cn+BeOow3fewVFJAv16bGniVteDORkdgz+j\neHeNSV649YLVlpXyBBrspBObCfTt+oevXE8efkDIkqPa9ZMN0y7ll9+8EepV\n0m3oqFFKY3cPGcS5buuyeAZQAffF0y6AQfZsO8VXY4EwAsqus+UPoOlvDAfm\nl5v2FcVdoMeftqnQbjkRHZm0RN4DEMFA6mBluGRfhUHRApu+3/3B8Jp/cfkj\nKrdj1S6wOsF+S0SPZZ3miHhDLQ5tK4l1WvhndA+ATytRfVt5IcmFKfZgZA6+\njSTD\r\n=Q/aH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHW4eZjyEKJdXgJ1p+DwBtbyck9a2+Sf088lstfZB+pTAiAOjYzYCwgMOBrMKUwrc9qv2A/eK7UsZkivP5NZnxR7tg=="}],"size":36948,"noattachment":false,"key":"/graphback/-/graphback-0.9.3.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.9.3_1572346851684_0.7130644680160196"},"_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":1572346851808,"_cnpm_publish_time":1572346851808,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}