{"id":15019377,"url":"https://github.com/tpps88206/michael-angular-go-grpc-example","last_synced_at":"2025-05-02T07:32:53.453Z","repository":{"id":38750836,"uuid":"191538683","full_name":"tpps88206/michael-angular-go-grpc-example","owner":"tpps88206","description":"The example of gRPC project with Angular and Go","archived":false,"fork":false,"pushed_at":"2023-01-07T06:22:32.000Z","size":3190,"stargazers_count":29,"open_issues_count":26,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T23:08:17.527Z","etag":null,"topics":["angular","angular2","angular4","angular5","angular6","angular7","angular8","envoy","envoy-proxy","envoyproxy","go","golang","grpc","grpc-web","protocol-buffers","proxy"],"latest_commit_sha":null,"homepage":"https://medium.com/micheh/%E7%B5%90%E5%90%88-grpc-%E5%9C%A8-angular-%E8%88%87-go-%E4%B9%8B%E4%B8%AD-%E4%BD%BF%E7%94%A8-docker-%E5%AF%A6%E4%BD%9C-d682d756319","language":"JavaScript","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/tpps88206.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}},"created_at":"2019-06-12T09:19:05.000Z","updated_at":"2024-04-16T10:38:31.000Z","dependencies_parsed_at":"2022-08-24T10:20:20.761Z","dependency_job_id":null,"html_url":"https://github.com/tpps88206/michael-angular-go-grpc-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpps88206%2Fmichael-angular-go-grpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpps88206%2Fmichael-angular-go-grpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpps88206%2Fmichael-angular-go-grpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpps88206%2Fmichael-angular-go-grpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpps88206","download_url":"https://codeload.github.com/tpps88206/michael-angular-go-grpc-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224305847,"owners_count":17289446,"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":["angular","angular2","angular4","angular5","angular6","angular7","angular8","envoy","envoy-proxy","envoyproxy","go","golang","grpc","grpc-web","protocol-buffers","proxy"],"created_at":"2024-09-24T19:53:24.218Z","updated_at":"2024-11-12T16:04:50.440Z","avatar_url":"https://github.com/tpps88206.png","language":"JavaScript","readme":"# angular-go-grpc-example\n\nThe example of gRPC project with Angular and Go.\n\n![Structure](structure.png)\n\n## Status\n\n[![Build Status](https://travis-ci.org/tpps88206/angular-go-grpc-example.svg?branch=master)](https://travis-ci.org/tpps88206/angular-go-grpc-example)\n\nPlatform|Image size|Image version\n---|---|---\nClient|[![](https://images.microbadger.com/badges/image/tpps88206/angular-go-grpc-example-client.svg)](https://microbadger.com/images/tpps88206/angular-go-grpc-example-client)|[![](https://images.microbadger.com/badges/version/tpps88206/angular-go-grpc-example-client.svg)](https://microbadger.com/images/tpps88206/angular-go-grpc-example-client)\nServer|[![](https://images.microbadger.com/badges/image/tpps88206/angular-go-grpc-example-server.svg)](https://microbadger.com/images/tpps88206/angular-go-grpc-example-server)|[![](https://images.microbadger.com/badges/version/tpps88206/angular-go-grpc-example-server.svg)](https://microbadger.com/images/tpps88206/angular-go-grpc-example-server)\n\n## Development using\n\n* Angular 8.0.0\n* Go 1.12\n* Protocol Buffers 3.7.1\n\n## Installation\n\nUse Docker Compose to build client, server and proxy together.\n\n    docker-compose build\n\n## Usage\n\nRun client, server and proxy together.\n\n    docker-compose up\n    \n## Access path\n\nClient site with Angular:\n\n    http://localhost:80/\n\nServer site with Go:\n\n    http://localhost:50051/\n\nAccess the Envoy Proxy at:\n\n    http://localhost:8080/\n\n## Protocol Buffers\n\nIf you need to modify .proto files, you can go to `./proto` and then you will need to compile them again.\n\n    cd proto\n    vim calc.proto\n    \n    # After modify\n    cd ..\n    sh ./protoc.sh\n    \n## Client development mode\n\nThe Docker Image will build client with production mode. If you need to use development mode.\n\n    cd ./client\n    npm start\n    \nAnd the client access path is\n\n    http://localhost:4200/\n\n## Testing endpoints\n\nIf you want to try your server endpoint without client and proxy.\n\n    cd ./server/test\n    go run main.go\n\n## Reference\n\n* https://github.com/kmturley/angular-nest-grpc\n* https://github.com/easyCZ/grpc-web-hacker-news\n* https://github.com/improbable-eng/grpc-web\n* https://github.com/protocolbuffers/protobuf\n* https://github.com/envoyproxy/envoy\n* https://github.com/appleboy/docker-multi-stage-build\n* https://grpc.io/blog/state-of-grpc-web/\n* https://blog.envoyproxy.io/envoy-and-grpc-web-a-fresh-new-alternative-to-rest-6504ce7eb880\n* http://www.servicemesher.com/envoy/start/sandboxes/grpc_bridge.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpps88206%2Fmichael-angular-go-grpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpps88206%2Fmichael-angular-go-grpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpps88206%2Fmichael-angular-go-grpc-example/lists"}