{"name":"graphback","version":"0.7.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.8.1"},"devDependencies":{"@types/graphql":"14.2.3","@types/knex":"0.15.2","@types/node":"8.10.51","@types/pino":"5.20.0","ava":"2.3.0","rimraf":"3.0.0","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.2","pg":"7.12.1","pino":"5.13.2","sqlite3":"4.1.0","tslib":"1.10.0"},"_id":"graphback@0.7.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ef/CmFd9Sio0ptzQqv2zxKP1/TDx8EFdx7Q64xwwnf0coLImmBE1oNWzO6P6/g09z5jFyxfccLs0PvvzvP6JRw==","shasum":"a067c00ec54bf503e0d720bc38e6f267ac5d129e","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.7.1.tgz","fileCount":81,"unpackedSize":162807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW8NsCRA9TVsSAnZWagAANv4P/2rHolGP9WU89xIkSN4F\nDjbj7TsFXNpbfdvsgyvZZvPF4KbJ+1YxJskLClS7I1V7+BmSkJT/kHraRK5w\nNg+4fSb7Yk+NaZh2rW/T9gBxWlKxX5pQ3d61lkeMwJ30CnptbzeYVZOo+Im/\nvyizHWd5AMIszS97EuVb5g7HTS+SJsiSyPr0+JXh2NB+3SaUsdt0d7bFsW5f\nRACKRXZTy6J+StHo7u7aT3q8FjALhDqUrK1JiVCVUsTTRQVieNjDuaJLvCAD\ndikO1Ds/KByrLVhNqlLLoOwfk7HRfehPw13iQWqxpCK62UAlZ5B5nOBk6r7M\nZl+Qxk655v8IaOqODCU2nJXhRdtF1skPhs95lRnTQs+ZGyqBOTUe6tmXAuel\n2PF3ahnT1cHipAjAQy4wvarWTnh9D1x0hCS3kuhZx3Jcj0XOxXi1vNJ2Wgqc\nSVHPwFEILYUOxixDQyrCKWxv3vKnYl18TcqN/p1ymhjChKE+dy2kcy0+Xs+/\nIbV/iDmv7Ly53oIZDBjdgsGyRgVpS04jX2fMdKyICHptay52FcID9wPvCY68\nAjep4LbIGuqVzvCForWk4W90LwZp4PvhmAp0gKaW7Mev78M0UzQirKEmDp79\nCzi1E6Wpjwx9gtTlmwdG2XGQcVqbF2B0yJPCu4KqnjSzPS+W6wlOpcpQzzTJ\nAfXy\r\n=pWkq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuMgPH1RQ7ts4LsgamHeq4kvZPutuyeLJe2W4FyMFotAiAJxBOI5Nshmtd8XDi2AxqjMJpS/o4cGgKjRedli5GVxw=="}],"size":35182,"noattachment":false,"key":"/graphback/-/graphback-0.7.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.7.1_1566294892024_0.3781289918607933"},"_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":1566294892232,"_cnpm_publish_time":1566294892232,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}