{"id":16234115,"url":"https://github.com/zackify/reason-apollo-server","last_synced_at":"2025-08-26T00:09:17.989Z","repository":{"id":72855696,"uuid":"118843718","full_name":"zackify/reason-apollo-server","owner":"zackify","description":"Set of bindings for Apollo Server in ReasonML","archived":false,"fork":false,"pushed_at":"2018-01-25T02:25:17.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T04:49:42.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zackify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-25T01:15:08.000Z","updated_at":"2018-04-23T13:12:44.000Z","dependencies_parsed_at":"2023-02-26T20:45:30.472Z","dependency_job_id":null,"html_url":"https://github.com/zackify/reason-apollo-server","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/zackify%2Freason-apollo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freason-apollo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freason-apollo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Freason-apollo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackify","download_url":"https://codeload.github.com/zackify/reason-apollo-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247800800,"owners_count":20998331,"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-10-10T13:15:03.956Z","updated_at":"2025-04-08T07:41:33.784Z","avatar_url":"https://github.com/zackify.png","language":"OCaml","readme":"## Install\n\n```\nnpm install --save graphql reason-apollo-server\n```\n\nAdd\n\n```\n\"bs-dependencies\": [\n    \"reason-apollo-server\",\n]\n```\n\nto `bsconfig.json`\n\n## Usage\n\n`Schema.re`\n\n```\nlet typeDefs = {|\n  type Query {\n    user(id: Int!): User\n  }\n\n  type User {\n    name: string\n  }\n|};\n\n\nlet Query = {\n  user: (_: GQL.root, {id: int}) =\u003e { id, name: \"Test\"}\n};\n\n\nlet schema = GQL.makeExecutableSchema({ typeDefs, resolvers: { Query }})\n```\n\nNow import `./src/Schema.bs.js` into express like the example folder shows and you're good to go!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Freason-apollo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackify%2Freason-apollo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Freason-apollo-server/lists"}