{"name":"graphback","version":"0.3.1","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.6.0"},"devDependencies":{"@types/graphql":"14.2.2","@types/knex":"0.15.2","@types/node":"8.10.50","@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.0","pg":"7.11.0","pino":"5.13.0","tslib":"1.10.0"},"_id":"graphback@0.3.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-MXHpfGgfIIPOuZCkF+4WlGp6B3h0jIncXsya9wUuSdMUxOGa/mvZ5Ps6kA0yWFNMhFk9wYfsfhdSooqMpDbMgA==","shasum":"13c6491927eb11cb9722f596d1924a48a459d073","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.3.1.tgz","fileCount":80,"unpackedSize":98990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL0IXCRA9TVsSAnZWagAA5BcP/R0IKPSvcTWk1YzaXFsq\nRlA6ig8NpAlzylpiwKvquTWqLQGlbL+hODSER++Sa0Qu9JPghhYlzHytj6fp\nUz4Frm8yjZQ3N9OoqMxdU9SKm7rgdXYz9g1RVJ6fTRWW/7XKU4cRrqDzcQi/\nA/DWOBcKgpsHmT4aptLsnQQmG5szjyZ0i/QH5ZbOrLA2mkwOTQ5TcR+I5wI5\n07KKd1f4RafHpEOqH/hLmxusLF/KAqL0WM4xl588H3uvclcX26PCHTRPGneI\nVZNVCqTC8vWcOPNnggIDHTuvO9ZERWj+WtZRaQ9uv+2LPqY86Bkxj/bGUqYT\n8+GaIbFLnphcPmEIhAgb7pp9FFQ9v2XLmlD7JHnVxwzq3L2iAYSvI7TZshkr\n9VRxedo+VFuIZldpzOx3ppHoePSpfi7FrlgsM3hbYWxVKw031Shpomyy19iN\n7T3BMvquT3xfJTtCj5WKAbCqiqqX0ZZcZVCGByZA0nEPVK/yB6JZ+7rBb5sj\nTEZC89kh0msZYcThOA+MiGC4IekIeP63g32GIwte4Sc6kH7dNtxdwbkZTIRa\n0HL+ozyUIEnoijCpz6fSMlvDNXMfqFqn4L14gIL6fvgNX2GBw7tPSKSXCJiY\nlIzln7MyunfEFQQpegB/9PVOTuFHNXXFSGskc4LIbbmvw2ZQCb7TtHRoW7bK\nNO1f\r\n=Evoa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDER3L/U96we0vJG0ycOgoNQ86fQEFaSuV26QmUjxn/KAiEAxu7yixb3ppFN8lyEAqbqaTAgMtINxWwfwAlhilftVKg="}],"size":23042,"noattachment":false,"key":"/graphback/-/graphback-0.3.1.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.1_1563378199223_0.5427924691607737"},"_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":1563378199394,"_cnpm_publish_time":1563378199394,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}