{"id":20136060,"url":"https://github.com/zkfmapf123/grpc-node","last_synced_at":"2025-10-24T13:16:31.938Z","repository":{"id":115888329,"uuid":"586432319","full_name":"zkfmapf123/grpc-node","owner":"zkfmapf123","description":"grpc + express + typescript","archived":false,"fork":false,"pushed_at":"2023-01-08T09:46:50.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T19:36:44.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zkfmapf123.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":"2023-01-08T05:24:52.000Z","updated_at":"2023-01-08T06:05:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"71b19069-45b0-4b2c-9aa7-b16fe569a477","html_url":"https://github.com/zkfmapf123/grpc-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zkfmapf123/grpc-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fgrpc-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fgrpc-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fgrpc-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fgrpc-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfmapf123","download_url":"https://codeload.github.com/zkfmapf123/grpc-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fgrpc-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280800965,"owners_count":26393412,"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-10-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2024-11-13T21:17:35.210Z","updated_at":"2025-10-24T13:16:31.898Z","avatar_url":"https://github.com/zkfmapf123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC + Node (Express)\n\n## gRPC의 장점\n\n\u003e 직렬화 (Serialize)\n\n    - 기존 데이터를 압축 + 간단 + 데이터 크기 축소를 진행하기 때문에 기존 JSON 직렬화보다 최대 8배 빠르다.\n\n\u003e 문서화\n\n    - protocol buffer로 gRPC통신을 진행하기때문에 따로 API문서를 만들 필요는 없다.\n    - 보통 swagger를 사용하게 되는데, 매번 수정하는 것도 귀찮음\n\n\u003e HTTP/2\n\n    - http2를 지원하기 때문에, 동일한 연결로 병렬적인 요청을 처리 할 수 있다.\n    - 연결을 유지해서 connection에 사용되는 overhead를 줄일 수 있다.\n\n## Protocol Buf 란?\n\n- 직렬화 데이터 구조\n- 프로토콜 버퍼는 하나의 파일에 최대 64MB 지원가능 하며, JSON파일을 프로토콜 버퍼 파일포맷으로 전환이 가능하고, 반대의 경우도 가능하다.\n\n[More Detail ProtoBuf...](./proto.md)\n\n## Library\n\n```\n    // MAC OS\n    brew install grpc protobuf\n\n    // NPM\n    npm i @grpc/grpc-js @grpc/proto-loader typescript ts-node -D\n```\n\n## Command\n\n```\n    // proto lint 검사\n    buf ls-files\n    buf lint\n\n    // proto generate (buf.gen.yaml)\n    buf generate\n    brew link --overwrite protobuf@3\n```\n\n### issue\n\n```\n    // protoc-gen-js: program not found or is not executable\n    brew install protobuf@3\n```\n\n### Reference\n\n\u003cdiv\u003e\u003ca href=\"https://docs.buf.build/installation\"\u003eBuf Documents\u003c/a\u003e\u003c/div\u003e\n\n### Conclusion\n\n[Colusion...](./ConClusion.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fgrpc-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfmapf123%2Fgrpc-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fgrpc-node/lists"}