{"id":15569605,"url":"https://github.com/patrick91/livestream-demo-rust","last_synced_at":"2025-06-22T07:01:44.751Z","repository":{"id":141354600,"uuid":"605207369","full_name":"patrick91/livestream-demo-rust","owner":"patrick91","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-22T17:37:31.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T02:22:05.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/patrick91.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T17:12:54.000Z","updated_at":"2023-03-08T22:04:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"07216143-9cdc-4b00-bd8d-47f4edb5843b","html_url":"https://github.com/patrick91/livestream-demo-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrick91/livestream-demo-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Flivestream-demo-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Flivestream-demo-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Flivestream-demo-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Flivestream-demo-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrick91","download_url":"https://codeload.github.com/patrick91/livestream-demo-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick91%2Flivestream-demo-rust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261250176,"owners_count":23130533,"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-02T17:33:45.904Z","updated_at":"2025-06-22T07:01:39.727Z","avatar_url":"https://github.com/patrick91.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# async-graphql Subgraph Template\n\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/1KF0vV)\n\nThis template can be used to quickly create an [Apollo Federation] subgraph with the [async-graphql] crate.\n\n## What's Included\n\n- A basic, [Apollo Federation] subgraph with simple examples for queries, entities, and mutations. You can run this subgraph with `cargo run` or `cargo watch -x run` if using [cargo-watch] for auto-reloading.\n- Example tests in the `tests` directory. You can run these tests with `cargo test`.\n- GitHub Actions workflows which will:\n  - Run `cargo test` on every push.\n  - Check the schema against Apollo Studio on every push.\n  - Publish the subgraph to Apollo Studio on every push to the `main` branch.\n\n## Next Steps\n\n- Download [Rover] and start it using the command printed out from `cargo run` to start a local version of Apollo Explorer.\n- Replace \"my-subgraph\" in `Cargo.toml` with the name of your subgraph.\n- Start filling in your own types and resolvers in `src/lib.rs`.\n- Set these secrets in GitHub Actions:\n  - `APOLLO_KEY`: An Apollo Studio API key for the supergraph to enable schema checks and publishing of the subgraph.\n  - `APOLLO_GRAPH_REF`: The name of the supergraph in Apollo Studio.\n  - `PRODUCTION_URL`: The URL of the deployed subgraph that the supergraph gateway will route to.\n- Remove the `if: false` lines from `.github/workflows/checks.yaml` and `.github/workflows/deploy.yaml` to enable schema checks and publishing.\n- Write your custom deploy logic in `.github/workflows/deploy.yaml`.\n- Send the `Router-Authorization` header [from your Cloud router](https://www.apollographql.com/docs/graphos/routing/cloud-configuration#managing-secrets) and set the `ROUTER_SECRET` environment variable wherever you deploy this to.\n\n[apollo federation]: https://www.apollographql.com/docs/federation/\n[async-graphql]: https://async-graphql.github.io/async-graphql/\n[cargo-watch]: https://crates.io/crates/cargo-watch\n[rover]: https://www.apollographql.com/docs/rover/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick91%2Flivestream-demo-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrick91%2Flivestream-demo-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick91%2Flivestream-demo-rust/lists"}