This repository contains a Golang project with gRPC implementation. Follow the steps below to set up and run the project.
git clone https://github.com/eduardylopes/fc-grpc
cd fc-grpc
go mod tidy
Install the sqlite3 by following the instructions here.
In the root folder executes the following commands to create categories table.
sqlite3 db.sqlite "create table categories (id string, name string, description string);"
Install Protocol Buffers compiler (protoc) by following the instructions here.
go run cmd/grpc_server/main.go
To test this app use the gRPC client Evans by following the instructions here.
Follow the instructions here to generate new services or modify existing contracts.