Sign inSign up

shaned24/tough-notes

By shaned24

Updated over 6 years ago

Image
0

50K+

shaned24/tough-notes repository overview

Tough Notes Storage

A notes storage application using gRPC, protocol buffers and gRPC Gateway with a MongoDB database

Contents

Environment Variables
NAMEDescriptiondefault
MONGO_CONNECTION_TIMEOUTThe timeout in seconds that the mongo client should wait until it stops trying to connect to a mongo instance5
MONGO_HOSTThe mongo host to connect tolocalhost
MONGO_PORTThe port number of the mongo host to connect to27017
MONGO_DB_NAMEThe name of the MongoDB name to usenotes
MONGO_COLLECTION_NAMEThe name of the MongoDB collection to usenotes
gRPC

The GRPC quick start documents the tools needed to get started

Protocol Buffers

The protoc compiler is required to generate gRPC code.

gRPC gateway

A gRPC to JSON proxy generator following the gRPC HTTP spec

Running the server
go run .

Tag summary

Content type

Image

Digest

Size

8.5 MB

Last updated

over 6 years ago

docker pull shaned24/tough-notes