Skip to content

Simple services to store emails in a (SQLite) database! JSON & gRPC services written in GO!

Notifications You must be signed in to change notification settings

ThomasCode92/MailingList-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailingList Microservice

This application, a Mailing list service, is written in Go and it utilizes some of Go's advanced features (like Goroutines, WaitGroups, ...)!
It is a project of the Go Programming: The Complete Developer's Guide course from ZTM.

Setup

This project requires a gcc compiler installed and the protobuf code generation tools.

Install protobuf compiler

Install the protoc tool using the instructions available at https://grpc.io/docs/protoc-installation/.
Alternatively you can download a pre-built binary from https://github.com/protocolbuffers/protobuf/releases and placing the extracted binary somewhere in your $PATH.

Install Go protobuf codegen tools

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Generate Go code from .proto files

protoc --go_out=. --go_opt=paths=source_relative \
  --go-grpc_out=. --go-grpc_opt=paths=source_relative \
  Proto/mail.proto

About

Simple services to store emails in a (SQLite) database! JSON & gRPC services written in GO!

Topics

Resources

Stars

Watchers

Forks

Languages