/Go-ToDo

Primary LanguageGo

TODO app

  • Is a simple service written in Golang, provides APIs via gRPC and REST.
  • I used Mongo as database, unary interceptor to validate requests and swagger to test REST APIs.
  • This is my first project in Go :D

Prerequisites

  1. install Go
  2. install MongoDB

install app dependencies

make install

generate protobuf, swagger and grpc gateway

make generate

build

make build

run grpc server

make rungrpc

run test

make test

run client CLI

to use client cli you have to build the client and run grpc server. for more information about how to use the client cli, try help command.

./grpcClient help

run http server

make runhttp

visit swagger to make REST requests