{"id":14989371,"url":"https://github.com/naihe138/graphql-demo","last_synced_at":"2026-03-06T04:31:51.387Z","repository":{"id":28187436,"uuid":"114856936","full_name":"naihe138/GraphQL-demo","owner":"naihe138","description":"🎉Koa + GraphQL + Apollo-Server  demo","archived":false,"fork":false,"pushed_at":"2023-02-01T15:21:02.000Z","size":5999,"stargazers_count":243,"open_issues_count":9,"forks_count":39,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-20T10:08:06.999Z","etag":null,"topics":["graphql-demo","jquery","koa","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/naihe138.png","metadata":{"files":{"readme":"README-cn.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}},"created_at":"2017-12-20T07:28:00.000Z","updated_at":"2024-04-29T01:43:48.000Z","dependencies_parsed_at":"2023-02-19T05:31:28.441Z","dependency_job_id":null,"html_url":"https://github.com/naihe138/GraphQL-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naihe138/GraphQL-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naihe138%2FGraphQL-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naihe138%2FGraphQL-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naihe138%2FGraphQL-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naihe138%2FGraphQL-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naihe138","download_url":"https://codeload.github.com/naihe138/GraphQL-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naihe138%2FGraphQL-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260907159,"owners_count":23080612,"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":["graphql-demo","jquery","koa","mongodb","mongoose","nodejs"],"created_at":"2024-09-24T14:18:15.382Z","updated_at":"2026-03-06T04:31:51.335Z","avatar_url":"https://github.com/naihe138.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n这是利用Koa + GraphQL + Apollo-Server实现的，学生信息增、删、改、查的栗子\n\n本栗子将搭配koa实现一个GraphQL查询的例子，逐步从简单Kao服务到Mongodb的数据插入查询再到GraphQL的使用，\n让大家快速看到：\n\n* 搭建koa搭建一个后台项目\n* 后台路由简单处理方式\n* 利用mongoose简单操作mongodb的增、删、改、查\n* 掌握Apollo-Server简单操作数据的增、删、改、查\n* 掌握GraphQL的入门姿势\n\n项目如下图所示\n\n\n## 使用方法\n\n````js\n1、git clone https://github.com/naihe138/GraphQL-demo.git\n\n2、npm install\n\n3、node run dev\n\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaihe138%2Fgraphql-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaihe138%2Fgraphql-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaihe138%2Fgraphql-demo/lists"}