Skip to content

A simple gRPC server practice using MongoDB with repository design pattern

Notifications You must be signed in to change notification settings

arian-khanjani/user-server

Repository files navigation

user-server

A simple gRPC server practice using MongoDB with repository design pattern

Layers

  • Controller
  • Repository Layer

Features

  • CRUD operations
  • Indexing
  • gRPC registry support
  • Graceful shutdown

Database

To spin up the database, use the provided docker-compose.yml file:

docker-compose up -d

Generate .proto files

To generate the protocol buffer files using buf (should already be installed):

buf generate && buf generate --template buf.gen.tag.yaml

TODO

About

A simple gRPC server practice using MongoDB with repository design pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages