An open API service indexing awesome lists of open source software.

https://github.com/wantedly/grpc-gateway-study

sample code for grpc-gateway study #grpc_gateway_wt
https://github.com/wantedly/grpc-gateway-study

grpc grpc-gateway

Last synced: 6 months ago
JSON representation

sample code for grpc-gateway study #grpc_gateway_wt

Awesome Lists containing this project

README

          

# grpc-gateway-study
sample code for grpc-gateway study #grpc_gateway_wt

[Go + grpc-gateway でつくる JSON API 速習会 @ Wantedly](https://wantedly.connpass.com/event/82378)

## Sample

:point_right: See [develop branch](https://github.com/wantedly/grpc-gateway-study/tree/develop)

## Prerequirements

Golang (^1.9.0), dep (> 3.0.0), protobuf (> 3.0.0)

```
$ brew install protobuf
$ brew install izumin5210/tools/grapi
```

If you would like to run samples in Docker, you can use [creasty/rid](https://github.com/creasty/rid).

```
$ brew install creasty/tools/rid
```

## Setup DB

```
$ rid createdb grpc-gateway-study
$ rid migrate up
```

## Links

- [Slide (in Japanese)](https://speakerdeck.com/izumin5210/create-json-api-with-go-plus-grpc-gateway)
- [grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway)
- [grapi](https://github.com/izumin5210/grapi)
- Code generator
- protoc wrapper
- gRPC + grpc-gateway server implementation