Skip to content

eduardylopes/fc-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang gRPC Project

This repository contains a Golang project with gRPC implementation. Follow the steps below to set up and run the project.

Clone Repository

git clone https://github.com/eduardylopes/fc-grpc
cd fc-grpc

Install Dependencies

go mod tidy

Sqlite3 Installation

Install the sqlite3 by following the instructions here.

Database

In the root folder executes the following commands to create categories table.

sqlite3 db.sqlite "create table categories (id string, name string, description string);"

Protocol Buffer Installation

Install Protocol Buffers compiler (protoc) by following the instructions here.

Run the project

go run cmd/grpc_server/main.go

Testing using a gRPC client

To test this app use the gRPC client Evans by following the instructions here.

Generate Services and Update Contracts

Follow the instructions here to generate new services or modify existing contracts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages