{"id":13566011,"url":"https://github.com/mikethebeer/graphql-crate","last_synced_at":"2025-04-03T23:30:50.191Z","repository":{"id":68769329,"uuid":"46477544","full_name":"mikethebeer/graphql-crate","owner":"mikethebeer","description":"Graphql Demo using Crate","archived":false,"fork":false,"pushed_at":"2015-11-20T07:09:06.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-04T19:42:29.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikethebeer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-19T08:09:17.000Z","updated_at":"2023-03-31T08:14:04.000Z","dependencies_parsed_at":"2023-03-09T17:37:19.435Z","dependency_job_id":null,"html_url":"https://github.com/mikethebeer/graphql-crate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikethebeer%2Fgraphql-crate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikethebeer%2Fgraphql-crate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikethebeer%2Fgraphql-crate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikethebeer%2Fgraphql-crate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikethebeer","download_url":"https://codeload.github.com/mikethebeer/graphql-crate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097632,"owners_count":20883122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:00.077Z","updated_at":"2025-04-03T23:30:49.747Z","avatar_url":"https://github.com/mikethebeer.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# graphql-crate\nThis repo demonstrates how a [GraphQL][1] middleware server can be used to run \nqueries against [Crate DB][2].\n\n## Setup and prerequisites\nThis project uses [buildout][3] to manage its dependencies. The only thing you \nneed is a working `python \u003e= 2.7` installed.\n\n```bash\npython bootstrap.py\nbin/buildout -N\nbin/npm install\n```\n\nIf you haven't used `buildout` and installed `npm` globally you can simply run:\n```bash\nnpm install\n```\n[npm][4] is going to install you the required dependencies for running the \nGraphQL middleware server. These packages are listed below:\n  * [graphql](https://github.com/graphql/graphql-js), the reference \n    implementation of GraphQL in JS\n  * [express](https://github.com/strongloop/express), a minimalist web framework\n  * [express-graphql](https://github.com/graphql/express-graphql), the HTTP \n    server for exposing GraphQL\n  * [crate-js](https://github.com/herenow/cratejs), a node.js driver for \n    [Crate][2]\n  * [q](https://github.com/kriskowal/q), the promise library for node\n\n## Run\nIf your environment setup is successful the middleware can be started:\n\n```bash\nbin/node index.js\n```\nThis will start the GraphQL server and the HTTP endpoint is set to \nhttp://localhost:3000/graphql. If you open this URL in a browser you are able to \nrun GraphQL-queries with the interactive in-browser [Graphiql][5] IDE.\n\n[1]: http://graphql.org/\n[2]: https://crate.io\n[3]: http://www.buildout.org/en/latest/\n[4]: https://www.npmjs.com/\n[5]: https://github.com/graphql/graphiql\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikethebeer%2Fgraphql-crate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikethebeer%2Fgraphql-crate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikethebeer%2Fgraphql-crate/lists"}