golang-grpc-mongodb-arbitrary-data

module
v0.0.0-...-42d6aa1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: MIT

README

golang-grpc-mongodb-arbitrary-data

This is an example of a CRUD GRPC API using MongoDB. It shows how we can handle arbitrary data types.

running it

$ make run

testing it

Both unit and integration tests are provided.

$ make test

Available Makefile targets

$ make help

Usage: make [target]

  help                 shows this help message
  proto                compiles .proto files
  start-mongodb        starts mongodb instance used for the app
  stop-mongodb         stops mongodb instance used for the app
  start-test-mongodb   starts mongodb instance used for integration tests
  stop-test-mongodb    stops mongodb instance used for integration tests
  stop-all-mongodb     stops all mongodb instances
  test                 runs both unit and integration tests
  run                  runs the gRPC server

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL