A gRPC API with grpc gateway and openapi
 
 
 
Go to file
sundowndev a3fac87cc6 fix: http and rpc error codes 2024-02-28 14:58:35 +04:00
bin chore: update gitignore 2024-02-26 14:18:54 +04:00
gen fix: http and rpc error codes 2024-02-28 14:58:35 +04:00
proto fix: http and rpc error codes 2024-02-28 14:58:35 +04:00
scripts feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00
server fix: http and rpc error codes 2024-02-28 14:58:35 +04:00
.gitignore feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00
LICENSE Initial commit 2024-02-21 17:18:31 +04:00
Makefile chore: makefile 2024-02-27 23:55:23 +04:00
README.md initial commit 2024-02-26 14:12:30 +04:00
buf.gen.yaml feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00
buf.work.yaml initial commit 2024-02-26 14:12:30 +04:00
go.mod feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00
go.sum feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00
main.go feat: install gateway and openapi deps 2024-02-27 23:21:35 +04:00

README.md

grpc-api-example

This repository demonstrates how to use gRPC with Go and various plugins. It's a simple API to manage notes. It uses grpc-gateway to handle HTTP requests and openapi to define API specs.

Installation

This project uses go1.20.

$ make install-tools
$ make generate

Run the server

$ make build
$ ./bin/server