Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tpps88206/michael-angular-go-grpc-example

Repository files navigation

The example of gRPC project with Angular and Go.

Structure

Status

Build Status

PlatformImage sizeImage version
Client
Server

Development using

  • Angular 8.0.0
  • Go 1.12
  • Protocol Buffers 3.7.1

Installation

Use Docker Compose to build client, server and proxy together.

docker-compose build

Usage

Run client, server and proxy together.

docker-compose up

Access path

Client site with Angular:

http://localhost:80/

Server site with Go:

http://localhost:50051/

Access the Envoy Proxy at:

http://localhost:8080/

Protocol Buffers

If you need to modify .proto files, you can go to./proto and then you will need to compile them again.

cd protovim calc.proto# After modifycd ..sh ./protoc.sh

Client development mode

The Docker Image will build client with production mode. If you need to use development mode.

cd ./clientnpm start

And the client access path is

http://localhost:4200/

Testing endpoints

If you want to try your server endpoint without client and proxy.

cd ./server/testgo run main.go

Reference

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp