{"id":16201888,"url":"https://github.com/ossycodes/basic-node-proto-buffer","last_synced_at":"2026-01-20T22:01:21.673Z","repository":{"id":104474945,"uuid":"380495226","full_name":"ossycodes/basic-node-proto-buffer","owner":"ossycodes","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-26T12:42:55.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T18:48:04.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/ossycodes.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-26T12:21:11.000Z","updated_at":"2021-06-26T12:42:57.000Z","dependencies_parsed_at":"2023-03-13T14:55:00.905Z","dependency_job_id":null,"html_url":"https://github.com/ossycodes/basic-node-proto-buffer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ossycodes/basic-node-proto-buffer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossycodes%2Fbasic-node-proto-buffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossycodes%2Fbasic-node-proto-buffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossycodes%2Fbasic-node-proto-buffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossycodes%2Fbasic-node-proto-buffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossycodes","download_url":"https://codeload.github.com/ossycodes/basic-node-proto-buffer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossycodes%2Fbasic-node-proto-buffer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28615542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T21:52:42.722Z","status":"ssl_error","status_checked_at":"2026-01-20T21:52:20.513Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-10T09:44:46.128Z","updated_at":"2026-01-20T22:01:21.655Z","avatar_url":"https://github.com/ossycodes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# A basic gRPC Proto Buffer\n\nplease ensure you have a copy of the [Protobuffer](https://github.com/ossycodes/basic-node-proto-buffer) [producer](https://github.com/ossycodes/basic-node-grpc-producer)  and [consumer](https://github.com/ossycodes/basic-node-grpc-consumer) and ensure you cloned this into a folder named `shared-proto`\n\n\n## usage\n`node folderyouclonedproducerinto/producer-grpc.js` ##terminal 1\n\n`node folderyouclonedconsumerinto/consumer-grpc.js` #terminal 2\n\n`curl http://localhost:3000/` #terminal 3\n\nyou should get a reponse like this\n\n```json\n{\n    \"consumer_id\": 2000,\n    \"producer_data\": { \"pid\": \"xxxx\"},\n    \"recipe\": {\n        \"id\": 42, \"name\": \"xxxx\",\n        \"steps: \"xxxxx\",\n        \"ingredients\": [\n            {\n                \"id\": 1,\n                \"name\": \"xxxx\",\n                \"quantity\" \"xxxx\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"xxxx\",\n                \"quantity\" \"xxxx\"\n            },\n        ]\n    }\n}\n```\n\n\n## Big shoutout to Thomas Hunter II for the Distributed Nodejs book\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossycodes%2Fbasic-node-proto-buffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossycodes%2Fbasic-node-proto-buffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossycodes%2Fbasic-node-proto-buffer/lists"}