https://github.com/omdxp/mongo-grpc
blogs service with gRPC and mongodb
https://github.com/omdxp/mongo-grpc
grpc grpc-go mongodb
Last synced: about 1 month ago
JSON representation
blogs service with gRPC and mongodb
- Host: GitHub
- URL: https://github.com/omdxp/mongo-grpc
- Owner: omdxp
- Created: 2022-08-17T07:23:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T09:58:57.000Z (over 3 years ago)
- Last Synced: 2025-10-19T18:52:41.538Z (5 months ago)
- Topics: grpc, grpc-go, mongodb
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blogs service
a sample of CRUD service for blogs with gRPC
## run mongodb
1. create `/data/db` directory
```sh
mkdir -p /data/db
```
2. run mongodb
```sh
mongod --dbpath /data/db
```
## run server
```sh
make server
```
## run client
```sh
make client
```
## (optional) run evans CLI
```sh
evans -p 50051 -r
```
Basically with [evans](https://github.com/ktr0731/evans) CLI you can talk to the service directly and get info or even make rpc calls within the REPL.