Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 673 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 673 Bytes

blog-grpc-gateway

This project is added here for Demo.

Enables protocol buffer compiler to read gRPC Service definitions and translate REST JSON API into gRPC. Uses MongoDB.

Locally Start MongoDB or use Docker Compose Example: https://github.com/rsachdeva/illuminatingdeposits-grpc#start-mongodb

sh ./runmongo.sh

Start gRPC Server

go run ./cmd/server

Start REST Server

go run ./cmd/restserver

Run gRPC Client to make gRPC Requests:

go run ./cmd/client

Run curl REST Client to make REST Http Requests:

sh ./runcurlrestclient.sh