Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/watchakorn-18k/go-grpc-fiber-mongo
https://github.com/watchakorn-18k/go-grpc-fiber-mongo
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/watchakorn-18k/go-grpc-fiber-mongo
- Owner: watchakorn-18k
- Created: 2024-07-05T18:08:30.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-05T18:13:09.000Z (4 months ago)
- Last Synced: 2024-07-05T23:46:07.954Z (4 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# GRPC
- `proto` for proto file
- `server` for connect to database
- `client` for connect to server with grpc normal
- `client-fiber` for connect to server with fiber
- `restful` for connect to server with restful### `proto` build
```
proto/gen.cmd
```### `server` run
```
cd server
go mod
go run main.go
```## Clients
### `client` run
```
cd client
go mod
go run main.go
```### `client-fiber` run
```
cd client-fiber
go mod
go run main.go
```
GET http://localhost:3000/user/test_1234### `restful` run
```
cd restful
go mod
go run main.go
```
GET http://localhost:3000/user/test_1234