{"id":20419459,"url":"https://github.com/risingstack/graphql-server","last_synced_at":"2025-04-05T01:03:28.201Z","repository":{"id":80615605,"uuid":"38484530","full_name":"RisingStack/graphql-server","owner":"RisingStack","description":"Example GraphQL server with Mongoose (MongoDB) and Node.js","archived":false,"fork":false,"pushed_at":"2016-04-29T16:10:32.000Z","size":23,"stargazers_count":845,"open_issues_count":4,"forks_count":96,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-27T15:01:57.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/RisingStack.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-07-03T09:26:20.000Z","updated_at":"2025-01-02T01:08:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c57d38ac-a7f1-46b1-933b-a53eac19711a","html_url":"https://github.com/RisingStack/graphql-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/RisingStack%2Fgraphql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RisingStack%2Fgraphql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RisingStack%2Fgraphql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RisingStack%2Fgraphql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RisingStack","download_url":"https://codeload.github.com/RisingStack/graphql-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271514,"owners_count":20911587,"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-11-15T06:37:13.459Z","updated_at":"2025-04-05T01:03:28.150Z","avatar_url":"https://github.com/RisingStack.png","language":"JavaScript","readme":"# graphql-server\n[ ![Codeship Status for RisingStack/graphql-server](https://codeship.com/projects/434da740-03bb-0133-00c5-7a6771ab2ee8/status?branch=master)](https://codeship.com/projects/89250)  \nGraphQL server with Mongoose (MongoDB) and Node.js\n\n## Like this? Check out our GraphQL ORM: [graffiti](https://github.com/RisingStack/graffiti)\n\n**Example GraphQL query:**\n```\nuser(id: \"1\") {\n  name\n  friends {\n    name\n  }\n}\n```\n\n**Example response:**\n```json\n{\n  \"data\": {\n    \"user\": {\n      \"name\": \"John Doe\",\n      \"friends\": [\n        {\n          \"name\": \"Friend One\"\n        },\n        {\n          \"name\": \"Friend Two\"\n        }]\n      }\n    }\n  }\n```\n\n**Example GraphQL mutation:**\n```\nmutation updateUser($userId: String! $name: String!) {\n  updateUser(id: $userId name: $name) {\n    name\n  }\n}\n```\n\n## Used technologies\n\n* GraphQL\n* MongoDB with Mongoose\n* Node/IO.js\n* Babel\n\n## How to start\n\nYou need `iojs` or \u003e= `Node.js` v0.12.x\n\n### install dependencies\n\n```\nnpm install\n```\n\n### seed database\n```\nnpm run seed\n```\n\n### start server\n```\nnpm start\n```\n\n### run client\n```\nnpm run client\n```\n\n## How to test\n\n```\nnpm test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisingstack%2Fgraphql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frisingstack%2Fgraphql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frisingstack%2Fgraphql-server/lists"}