{"id":20499284,"url":"https://github.com/zzy/juniper-book-zh-cn","last_synced_at":"2025-09-25T07:31:08.492Z","repository":{"id":145605970,"uuid":"204649319","full_name":"zzy/juniper-book-zh-cn","owner":"zzy","description":"Juniper 中文手册，同步最新开发版。","archived":false,"fork":false,"pushed_at":"2020-09-19T12:15:09.000Z","size":3518,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T04:52:10.562Z","etag":null,"topics":["graphql-rust","juniper","juniper-chinese","juniper-documentation"],"latest_commit_sha":null,"homepage":"https://juniper-book.rusthub.org","language":"Rust","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/zzy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.html","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-27T07:48:49.000Z","updated_at":"2024-05-22T16:14:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"948d8f76-05c7-4fc2-adf2-83f6d32fa111","html_url":"https://github.com/zzy/juniper-book-zh-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zzy/juniper-book-zh-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzy%2Fjuniper-book-zh-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzy%2Fjuniper-book-zh-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzy%2Fjuniper-book-zh-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzy%2Fjuniper-book-zh-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzy","download_url":"https://codeload.github.com/zzy/juniper-book-zh-cn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzy%2Fjuniper-book-zh-cn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276881825,"owners_count":25721413,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-rust","juniper","juniper-chinese","juniper-documentation"],"created_at":"2024-11-15T18:17:00.563Z","updated_at":"2025-09-25T07:31:08.486Z","avatar_url":"https://github.com/zzy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Juniper 中文手册（同步最新开发版）\n\n[Juniper 中文手册（https://juniper.budshome.com）](https://juniper.budshome.com)包含 `Juniper` 中文文档和代码示例，源码放在 [zzy/juniper-book-zh](https://github.com/zzy/juniper-book-zh)，内容译自[官方文档](https://github.com/graphql-rust/juniper/tree/master/docs/book)。\n\n基于 actix-web + juniper + diesel 构建 GraphQL 服务器的模板代码，放置在 github 仓库 [actix-graphql-react](https://github.com/zzy/actix-graphql-react)，部署在[演示站点](https://cms.budshome.com/graphql)。所用技术包括：\n\n- [Rust](https://www.rust-lang.org/zh-CN)\n- [actix-web](https://crates.io/crates/actix-web) - Web server\n- [juniper](https://crates.io/crates/juniper) - GraphQL server\n- [diesel](https://crates.io/crates/diesel) - ORM\n- [PostgreSQL](https://postgresql.org) - Database\n- [jsonwebtoken](https://crates.io/crates/jsonwebtoken) - JSON Web Token\n- [GraphQL Playground](https://github.com/prisma-labs/graphql-playground) - GraphQL UI\n\n## 状态\n\n- 对照源码位置：[https://github.com/graphql-rust/juniper/tree/master/docs/book/content](https://github.com/graphql-rust/juniper/tree/master/docs/book/content)\n- 每章翻译开头都带有官方链接和 commit hash，若发现与官方不一致，欢迎 Issue 或 PR :bug:\n\n## 做贡献\n\n### 需求\n\n本手册由 [mdBook](https://github.com/rust-lang-nursery/mdBook) 编译而成。\n\n如果已有 `Rust` 环境，安装 `mdBook` 请执行命令：\n\n```bash\ncargo install mdbook\n```\n\n### 启动本地测试服务器\n\n启动持续编译手册并自动加载页面的本地测试服务器，执行命令：\n\n```bash\nmdbook serve\n```\n\n### 生成手册\n\n将手册渲染输出为 `HTML`，执行命令：\n\n```bash\nmdbook build\n```\n\n输出目录为：`./docs`。\n\n### 测试\n\n测试手册中的所有代码示例，运行命令：\n\n```bash\ncd ./tests\ncargo test\n```\n\n### 测试配置\n\n手册中的所有 `Rust` 代码示例在 `CI` 上编译，使用了 [skeptic](https://github.com/budziq/rust-skeptic) 库。\n\n## 声明\n\n水平有限，错漏难免，欢迎指教；或请发 [issue到GitHub](https://github.com/zzy/juniper-book-zh)；或者直接联系。\n\n\u003e 电子邮箱：linshi@budshome.com；微信：budshome；QQ：9809920。\n\n感谢`graphql-rust/juniper 团队`的无私奉献。\n\n💥 笔者无意侵犯任何人的权利和利益，故若有不适，请联系我。\n\n------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzy%2Fjuniper-book-zh-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzy%2Fjuniper-book-zh-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzy%2Fjuniper-book-zh-cn/lists"}