Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchmarny/dapr-grpc-service-template
Template project to jump start your Dapr development in Go for service that will be invoked by other services over gRPC
https://github.com/mchmarny/dapr-grpc-service-template
dapr eventing grpc microservice server
Last synced: about 1 month ago
JSON representation
Template project to jump start your Dapr development in Go for service that will be invoked by other services over gRPC
- Host: GitHub
- URL: https://github.com/mchmarny/dapr-grpc-service-template
- Owner: mchmarny
- License: mit
- Created: 2020-07-10T12:59:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T23:13:09.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T05:35:26.287Z (6 months ago)
- Topics: dapr, eventing, grpc, microservice, server
- Language: Makefile
- Homepage:
- Size: 64.5 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dapr-grpc-service-template [![Go Report Card](https://goreportcard.com/badge/github.com/dapr-templates/dapr-grpc-service-template)](https://goreportcard.com/report/github.com/dapr-templates/dapr-grpc-service-template)
### template usage
* Click "Use this template" above and follow the wizard to select owner and name your new repo
* Clone and navigate to your new repo (`git clone [email protected]:/.git && cd `)
* Initialize your project to set the package names and update imports (`make init`)
* Write your subscription event handling logic### common operations
Common operations to help you bootstrap a Dapr gRPC services development in `go`:
```shell
$ make
tidy Updates the go modules and vendors all dependencies
test Tests the entire project
run Runs uncompiled code in Dapr
build Builds local release binary
invoke Invoke service with sample JSON content using Dapr API
image Builds and publish docker image
lint Lints the entire project
tag Creates release tag
clean Cleans up generated files
init Resets go modules
help Display available commands
```This project also includes GitHub actions in [.github/workflows](.github/workflows) that test on each `push` and build images and mark release on each `tag`. Other Dapr GitHub templates to accelerate Dapr development available [here](https://github.com/dapr/go-sdk/tree/master/service).
### License
This software is released under the [MIT](./LICENSE)