{"name":"graphback","version":"0.8.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.9.1"},"devDependencies":{"@types/graphql":"14.2.3","@types/knex":"0.15.2","@types/node":"8.10.52","@types/pino":"5.20.0","ava":"2.3.0","rimraf":"3.0.0","ts-node":"8.3.0","tslint":"5.19.0","tsutils":"3.17.1","typescript":"3.5.3"},"license":"Apache-2.0","dependencies":{"graphql":"14.5.3","knex":"0.19.2","pg":"7.12.1","pino":"5.13.2","sqlite3":"4.1.0","tslib":"1.10.0"},"_id":"graphback@0.8.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qbbUtMd59WY6xyvesB2MHUVfI5eE/JRNVh9psq4GY3uaEWrS0FhB43WHbtxFyp/IcIhNQ7VCsp1SYCdIok0enQ==","shasum":"15a1f20be3ecd392c64b59ebb73260ee02bd365c","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.8.0.tgz","fileCount":89,"unpackedSize":184456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZqkyCRA9TVsSAnZWagAAqfwP/RwwmT5NwWSixKNXesqv\nxLHErd9oIaXVk8bdH1nKrWGJsQ9h9MVAF1sXNZ33xlqqRkjRV/GbSr6dv5VY\nXxUPT4QimSsfoagIADTbgs/5ixFOc1WnznPFDxz50bafN+iVzlkMnnTB5DUd\nPtv9sfZfLD509W3QqeYfqX6zDccQmnmlDyJtYNfkmxfQ2V/Uv5TsaSEuxg1u\nl9iP/fPGb3yubVeY3sj1WPejknlSxueEoJNBB4QtxdHnuzKHyhxExS1JmpbB\nodlQnoNd65dnanBgHklro3X6+GqusBWYH5nOHPMSl6rCtaOs6W+GvC2xIXbn\nXhdZFJI62C1Nx6XWkWqu3JvpRWAecQQSAgjzrNsmQJlPqxO+p0MB3VqutB4d\nMk6TIRt7Q4m6/ozY0IBaM4EIdVTj9ypeiBVwR0KbimIk62ifqs+rUVWLRtoX\nzIk2T/cwtW5fftgdH++6fu6T5HjIKAKKRVEo0tZf9yDIhwodWtHZmT7Telfz\nzAWjEw2SoW7C2MswvNKMMw5sQISh+TAgaDrt83apckIz3ruPscI7nLLdN/xQ\nTz4fZ2nFTNsQtIbtWUq/llbYzyFDMcKpObBLE3w31y1EB7HzSkgbectJhTNR\nb58RVhpcWJ1YRWiMHBsgPS/pPZlgIIaBQIg6oB53nraqxhksisDbbSL/cQud\nyVxS\r\n=fSYN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZXR+afZO+w/BpRIuzc1mQiRtVE2L1wBzujNPVzkjztQIhAPtOiDr6PNNblxzTQHaukaIXFPOfPKZ9+MyIYvtBf23H"}],"size":38449,"noattachment":false,"key":"/graphback/-/graphback-0.8.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.8.0_1567009074192_0.7342108444227513"},"_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":1567009074386,"_cnpm_publish_time":1567009074386,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}