blogs service

a sample of CRUD service for blogs with gRPC

run mongodb

  1. create /data/db directory
mkdir -p /data/db
  1. run mongodb
mongod --dbpath /data/db

run server

make server

run client

make client

(optional) run evans CLI

evans -p 50051 -r

Basically with evans CLI you can talk to the service directly and get info or even make rpc calls within the REPL.


View Github