{"id":20823259,"url":"https://github.com/alfenfebral/go-grpc","last_synced_at":"2026-04-22T15:33:48.609Z","repository":{"id":87432353,"uuid":"172076249","full_name":"alfenfebral/go-grpc","owner":"alfenfebral","description":"gRPC example using go, include with credentials, rest-api gateway and swagger docs","archived":false,"fork":false,"pushed_at":"2019-02-23T08:33:17.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-21T08:50:37.935Z","etag":null,"topics":["go","golang","grpc","grpc-gateway","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alfenfebral.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":"2019-02-22T14:04:18.000Z","updated_at":"2019-02-23T08:33:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f122a691-d089-4734-934f-21da0bbc02ed","html_url":"https://github.com/alfenfebral/go-grpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alfenfebral/go-grpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfenfebral%2Fgo-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfenfebral%2Fgo-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfenfebral%2Fgo-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfenfebral%2Fgo-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfenfebral","download_url":"https://codeload.github.com/alfenfebral/go-grpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfenfebral%2Fgo-grpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32143650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["go","golang","grpc","grpc-gateway","rest-api"],"created_at":"2024-11-17T22:17:52.306Z","updated_at":"2026-04-22T15:33:48.579Z","avatar_url":"https://github.com/alfenfebral.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\nMake sure if you have protobuf installed in your system if not, use command below.\n```bash\nbrew install protobuf\n```\n\nMake sure if you have protoc-gen-go installed in your system if not, use command below.\n```bash\ngo get -u github.com/golang/protobuf/protoc-gen-go\n```\n\nMake sure if you have protoc-gen-grpc-gateway installed in your system if not, use command below.\n```bash\ngo get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway\n```\n\nMake sure if you have protoc-gen-swagger installed in your system if not, use command below.\n```bash\ngo get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger\n```\nthis will generate a ```swagger.json``` file\n\n## Compile Proto files\nbefore your run server or client, you should compliled .proto files using this command.\n```bash\nmake\n```\n\n## Run Server\ngRPC server will run at port ```:7777``` and REST server will run at port ```:7778```\n```bash\ngo run server.go\n```\n### Run Client\n```bash\ngo run client.go\n```\n\n## Test Rest API\n```bash\ncurl -H \"login:john\" -H \"password:doe\" -X POST -d '{\"to\":\"foo@foo@foo\", \"subject\":\"Foo\", \"message\":\"Foo\"}' 'http://localhost:7778/1/email'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfenfebral%2Fgo-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfenfebral%2Fgo-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfenfebral%2Fgo-grpc/lists"}