{"id":22168928,"url":"https://github.com/cau777/rust-grpc-web-react-template","last_synced_at":"2025-03-24T17:21:03.236Z","repository":{"id":224348266,"uuid":"762901268","full_name":"cau777/rust-grpc-web-react-template","owner":"cau777","description":"Minimal template for a Rust backend and React fronted communicating directly  with grpc-web","archived":false,"fork":false,"pushed_at":"2024-02-25T15:32:43.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T22:16:13.857Z","etag":null,"topics":["grpc","grpcweb","react","rust","tonic"],"latest_commit_sha":null,"homepage":"","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/cau777.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":"2024-02-25T02:11:55.000Z","updated_at":"2024-02-25T12:33:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"df31e825-fb05-4959-98e4-055e99941025","html_url":"https://github.com/cau777/rust-grpc-web-react-template","commit_stats":null,"previous_names":["cau777/rust-grpc-web-react-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cau777%2Frust-grpc-web-react-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cau777%2Frust-grpc-web-react-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cau777%2Frust-grpc-web-react-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cau777%2Frust-grpc-web-react-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cau777","download_url":"https://codeload.github.com/cau777/rust-grpc-web-react-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245315307,"owners_count":20595220,"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":["grpc","grpcweb","react","rust","tonic"],"created_at":"2024-12-02T06:27:50.900Z","updated_at":"2025-03-24T17:21:03.210Z","avatar_url":"https://github.com/cau777.png","language":"Rust","readme":"# rust-grpc-web-react-template\n\nThis project is a minimal starter template to quickly get grpc-web working with a Rust backend and React frontend.\nIt takes care of proxying (Envoy not necessary), CORS, and generating types in TS and Rust.\n\nIf you prefer to use a framework other than React, it should be easy enough to change (just keep the scripts in `package.json`)\n\n### Adding a new service\n\nThis project comes with an `EchoService` as a template. To create new services:\n1. Add a new proto file in `grpc-backend/proto`\n2. Add this file to `grpc-backend/build.rs`\n3. Implement the service in `grpc-backend/src/services`\n4. Add the service to the server in `grpc-backend/main.rs` \n5. Run `npm proto:generate` on the client\n6. Call the service on the client! (see `client/src/App.tsx`)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcau777%2Frust-grpc-web-react-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcau777%2Frust-grpc-web-react-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcau777%2Frust-grpc-web-react-template/lists"}